Trace collected at: 2010-12-16 17:18:07.699000
----------------------------------------------------------------------
../../GSEOS_scripts/INSTR\instr_scical_full.py[710]:     if(reset):
../../GSEOS_scripts/INSTR\instr_scical_full.py[715]:     results = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[718]:     results['start_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[721]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[726]:     if(oneshot):
../../GSEOS_scripts/INSTR\instr_scical_full.py[734]:     results['fbox'] = fbox
../../GSEOS_scripts/INSTR\instr_scical_full.py[735]:     results['sig1'] = sig1
../../GSEOS_scripts/INSTR\instr_scical_full.py[736]:     results['gnd'] = gnd
../../GSEOS_scripts/INSTR\instr_scical_full.py[737]:     results['others'] = others
../../GSEOS_scripts/INSTR\instr_scical_full.py[738]:     results['which_dac_tables'] = which_dac_tables
../../GSEOS_scripts/INSTR\instr_scical_full.py[742]:     if(not fbox):
../../GSEOS_scripts/INSTR\instr_scical_full.py[747]:     if(not (sig1 or gnd)):
../../GSEOS_scripts/INSTR\instr_scical_full.py[755]:     print >> log, "Calculating run time."
../../GSEOS_scripts/INSTR\instr_scical_full.py[756]:     total_time = 0
../../GSEOS_scripts/INSTR\instr_scical_full.py[757]:     for offset in offsets:
../../GSEOS_scripts/INSTR\instr_scical_full.py[758]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[758]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[758]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[758]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[757]:     for offset in offsets:
../../GSEOS_scripts/INSTR\instr_scical_full.py[758]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[758]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[758]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[758]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[757]:     for offset in offsets:
../../GSEOS_scripts/INSTR\instr_scical_full.py[758]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[758]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[758]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[760]:                 secdiv = 1.0/(freq * 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[762]:                     total_time += 5 # for readback packet wait
../../GSEOS_scripts/INSTR\instr_scical_full.py[763]:                     sleeptime = 3 + ((10*secdiv) * 32)
../../GSEOS_scripts/INSTR\instr_scical_full.py[764]:                     total_time += 2 + sleeptime # for SENSOR measurement
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[772]:                                     total_time += 1 + sleeptime # for measurement of VSPHERE/EMFISIS
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[767]:                             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[768]:                                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[770]:                                     pass
../../GSEOS_scripts/INSTR\instr_scical_full.py[766]:                         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[765]:                     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[761]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[759]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[758]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[757]:     for offset in offsets:
../../GSEOS_scripts/INSTR\instr_scical_full.py[773]:     hours = total_time / 3600.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[774]:     msg = "This test will take approx. %d seconds.\n(%.2f hours)" % (total_time, hours)
../../GSEOS_scripts/INSTR\instr_scical_full.py[775]:     print >> log, msg
../../GSEOS_scripts/INSTR\instr_scical_full.py[776]:     clicked = Gseos.MessageBox(msg, wButtons=Gseos.MB_OKCANCEL)
../../GSEOS_scripts/INSTR\instr_scical_full.py[777]:     if(clicked == Gseos.IDCANCEL):
../../GSEOS_scripts/INSTR\instr_scical_full.py[782]:     msg = "Make sure FBOXes are set to %s" % (fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[783]:     print >> log, msg
../../GSEOS_scripts/INSTR\instr_scical_full.py[784]:     clicked = Gseos.MessageBox(msg, wButtons=Gseos.MB_OKCANCEL)
../../GSEOS_scripts/INSTR\instr_scical_full.py[785]:     if(clicked == Gseos.IDCANCEL):
../../GSEOS_scripts/INSTR\instr_scical_full.py[789]:     fn = "FULL_fbox-%s_sig-%s.pkl" % (fbox, '-'.join(sig1))
../../GSEOS_scripts/INSTR\instr_scical_full.py[790]:     pickle_filename = os.path.join(settings.full_output_path, '%s_%s' % (settings.relative_output_path, fn))
../../GSEOS_scripts/INSTR\instr_scical_full.py[793]:     gpib_addr = 9
../../GSEOS_scripts/INSTR\instr_scical_full.py[794]:     ip = '192.168.1.14'
../../GSEOS_scripts/INSTR\instr_scical_full.py[795]:     tcp_port = 1234
../../GSEOS_scripts/INSTR\instr_scical_full.py[796]:     s = sw_matrix.sw_matrix(gpib_addr, ip, tcp_port)
../../GSEOS_scripts/INSTR\instr_scical_full.py[797]:     scr.dfb_set_matrix(s, sig1=sig1, gnd=gnd, others=others)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """
../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]:     def reset(self, n):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]:     def close(self, n):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]:     def open(self, n):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test():
../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """
../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]:     def reset(self, n):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]:     def close(self, n):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]:     def open(self, n):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test():
../../GSEOS_scripts/DFB\dfb_set_matrix.py[51]:     channel_map = {'EF1': {'sig1': [211],
../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]:     all_channels = channel_map.keys()
../../GSEOS_scripts/DFB\dfb_set_matrix.py[105]:     if(others in channel_map['EF1'].keys()):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[106]:         sig_gnd_open = sig1 + sig2 + gnd + open
../../GSEOS_scripts/DFB\dfb_set_matrix.py[108]:         others_list = []
../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]:         for item in all_channels:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]:             if item not in sig_gnd_open:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]:         for item in all_channels:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]:             if item not in sig_gnd_open:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]:                 others_list.append(item)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]:         for item in all_channels:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]:             if item not in sig_gnd_open:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]:         for item in all_channels:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]:             if item not in sig_gnd_open:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]:                 others_list.append(item)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]:         for item in all_channels:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]:             if item not in sig_gnd_open:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]:         for item in all_channels:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]:             if item not in sig_gnd_open:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]:                 others_list.append(item)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]:         for item in all_channels:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]:             if item not in sig_gnd_open:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]:                 others_list.append(item)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]:         for item in all_channels:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]:             if item not in sig_gnd_open:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]:                 others_list.append(item)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]:         for item in all_channels:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]:             if item not in sig_gnd_open:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]:                 others_list.append(item)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]:         for item in all_channels:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]:             if item not in sig_gnd_open:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]:                 others_list.append(item)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]:         for item in all_channels:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]:             if item not in sig_gnd_open:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]:                 others_list.append(item)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]:         for item in all_channels:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[110]:             if item not in sig_gnd_open:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]:                 others_list.append(item)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[109]:         for item in all_channels:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[121]:     matrix.reset(200) # open everything
../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]:     matrix.reset(300)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]:     for item in sig1:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]:         for chan in channel_map[item]['sig1']:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]:             matrix.close(chan)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]:         for chan in channel_map[item]['sig1']:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]:     for item in sig1:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]:         for chan in channel_map[item]['sig1']:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]:             matrix.close(chan)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]:         for chan in channel_map[item]['sig1']:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]:     for item in sig1:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]:         for chan in channel_map[item]['sig1']:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[125]:             matrix.close(chan)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]:         for chan in channel_map[item]['sig1']:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]:     for item in sig1:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]:     for item in sig2:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]:     for item in gnd:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[132]:     for item in open:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]:     for item in others_list:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]:         for chan in channel_map[item][others]:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]:             if(others == 'gnd' or
../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]:                 matrix.close(chan)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]:         for chan in channel_map[item][others]:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]:     for item in others_list:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]:         for chan in channel_map[item][others]:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]:             if(others == 'gnd' or
../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]:                 matrix.close(chan)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]:         for chan in channel_map[item][others]:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]:     for item in others_list:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]:         for chan in channel_map[item][others]:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]:             if(others == 'gnd' or
../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]:                 matrix.close(chan)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]:         for chan in channel_map[item][others]:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]:     for item in others_list:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]:         for chan in channel_map[item][others]:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]:             if(others == 'gnd' or
../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]:                 matrix.close(chan)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]:         for chan in channel_map[item][others]:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]:     for item in others_list:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]:         for chan in channel_map[item][others]:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]:             if(others == 'gnd' or
../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]:                 matrix.close(chan)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]:         for chan in channel_map[item][others]:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]:     for item in others_list:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]:         for chan in channel_map[item][others]:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]:             if(others == 'gnd' or
../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]:                 matrix.close(chan)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]:         for chan in channel_map[item][others]:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]:     for item in others_list:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]:         for chan in channel_map[item][others]:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]:             if(others == 'gnd' or
../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]:                 matrix.close(chan)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]:         for chan in channel_map[item][others]:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]:     for item in others_list:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]:         for chan in channel_map[item][others]:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]:             if(others == 'gnd' or
../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]:                 matrix.close(chan)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]:         for chan in channel_map[item][others]:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]:     for item in others_list:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]:         for chan in channel_map[item][others]:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[137]:             if(others == 'gnd' or
../../GSEOS_scripts/DFB\dfb_set_matrix.py[140]:                 matrix.close(chan)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[136]:         for chan in channel_map[item][others]:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]:     for item in others_list:
../../GSEOS_scripts/INSTR\instr_scical_full.py[798]:     sleep(2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[802]:     beb_scical.matrix_config(32)
../../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/INSTR\instr_scical_full.py[803]:     sleep(2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[806]:     cmd.efw_disarm(4)
../../GSEOS_scripts/INSTR\instr_scical_full.py[809]:     beb_scical.recall_scope_config(1, readback=True)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[550]:         print >> log, "Scope measurement parameters:"
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[551]:         meas_str = scope.gpib_cmd('measurement:MEAS1?').strip()
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[552]:         print >> log, "MEAS1: %s" % (meas_str)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[553]:         meas_str = scope.gpib_cmd('measurement:MEAS2?').strip()
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[554]:         print >> log, "MEAS2: %s" % (meas_str)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[555]:         meas_str = scope.gpib_cmd('measurement:MEAS3?').strip()
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[556]:         print >> log, "MEAS3: %s" % (meas_str)
../../GSEOS_scripts/INSTR\instr_scical_full.py[811]:     for offset in offsets:
../../GSEOS_scripts/INSTR\instr_scical_full.py[812]:         results[offset] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[813]:         print >> log, "OFFSET %f" % offset
../../GSEOS_scripts/INSTR\instr_scical_full.py[815]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[816]:             results[offset][amplitude] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[817]:             print >> log, "AMPLITUDE %f" % amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[815]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[816]:             results[offset][amplitude] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[817]:             print >> log, "AMPLITUDE %f" % amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[815]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[816]:             results[offset][amplitude] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[817]:             print >> log, "AMPLITUDE %f" % amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[815]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[811]:     for offset in offsets:
../../GSEOS_scripts/INSTR\instr_scical_full.py[812]:         results[offset] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[813]:         print >> log, "OFFSET %f" % offset
../../GSEOS_scripts/INSTR\instr_scical_full.py[815]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[816]:             results[offset][amplitude] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[817]:             print >> log, "AMPLITUDE %f" % amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[665]:                         meas_phase = None
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[815]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[816]:             results[offset][amplitude] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[817]:             print >> log, "AMPLITUDE %f" % amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[815]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[816]:             results[offset][amplitude] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[817]:             print >> log, "AMPLITUDE %f" % amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[815]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[811]:     for offset in offsets:
../../GSEOS_scripts/INSTR\instr_scical_full.py[812]:         results[offset] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[813]:         print >> log, "OFFSET %f" % offset
../../GSEOS_scripts/INSTR\instr_scical_full.py[815]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[816]:             results[offset][amplitude] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[817]:             print >> log, "AMPLITUDE %f" % amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[815]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[816]:             results[offset][amplitude] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[817]:             print >> log, "AMPLITUDE %f" % amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[815]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[816]:             results[offset][amplitude] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[817]:             print >> log, "AMPLITUDE %f" % amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[820]:                 results[offset][amplitude][freq] = {}
../../GSEOS_scripts/INSTR\instr_scical_full.py[821]:                 print >> log, "FREQ %d" % freq
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[824]:                     data = collect_data(offset, amplitude, freq, table_number, sig1, gnd, others, fbox, debug, burst_collect)
../../GSEOS_scripts/INSTR\instr_scical_full.py[484]:     retval = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[487]:     ds_offset = (offset / 20.0)  / 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[488]:     print >> log, "Setting DS345 DC offset to %f" % (ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[489]:     beb_scical.ds.set_offset(ds_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[491]:     ds_amplitude = (amplitude / 20.0)/ 2.0
../../GSEOS_scripts/INSTR\instr_scical_full.py[492]:     print >> log, "Setting DS345 amplitude to %f" % (ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[493]:     beb_scical.ds.set_ampl(ds_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[494]:     secdiv = 1.0/(freq * 2) # multiply by two to get only 5 cycles on the scope screen
../../GSEOS_scripts/INSTR\instr_scical_full.py[496]:     print >> log, "Setting DS345 frequency to %d" % (freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[497]:     beb_scical.ds.set_freq(freq)
../../GSEOS_scripts/INSTR\instr_scical_full.py[500]:     print >> log, "DAC TABLE: %d" % (table_number)
../../GSEOS_scripts/INSTR\instr_scical_full.py[501]:     dac_table = dac_tables[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[502]:     dac_table_name = dac_table_names[table_number]
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[505]:         util.SET_BIAS(ch_num, dac_table['bias'][ch_num-1])
../../GSEOS_scripts\util.py[26]:     cmd.EFW_BIAS( ch, val>>8 )
../../GSEOS_scripts\util.py[27]:     cmd.EFW_BIASL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[506]:         util.SET_USHER(ch_num, dac_table['usher'][ch_num-1])
../../GSEOS_scripts\util.py[30]:     cmd.EFW_USHER( ch, val>>8 )
../../GSEOS_scripts\util.py[31]:     cmd.EFW_USHERL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[507]:         util.SET_GUARD(ch_num, dac_table['guard'][ch_num-1])
../../GSEOS_scripts\util.py[34]:     cmd.EFW_GUARD( ch, val>>8 )
../../GSEOS_scripts\util.py[35]:     cmd.EFW_GUARDL( val & 0xff )
../../GSEOS_scripts/INSTR\instr_scical_full.py[504]:     for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[508]:     cmd.EFW_LDAC(readback=1)
../../GSEOS_scripts/INSTR\instr_scical_full.py[511]:     readbacks = []
../../GSEOS_scripts/INSTR\instr_scical_full.py[512]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[520]:         try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[521]:             wait(APID_265, lambda: True, flTimeout=20)
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[531]:                     rb = EU('APID_265.IEFI_%s%d' % (ch_name, ch_num))
../../GSEOS_scripts/INSTR\instr_scical_full.py[532]:                     print >> log, 'APID_265.IEFI_%s%d readback = %.04f' % (ch_name, ch_num, rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[533]:                     readbacks.append(rb)
../../GSEOS_scripts/INSTR\instr_scical_full.py[530]:                 for ch_num in range(1, 7):
../../GSEOS_scripts/INSTR\instr_scical_full.py[529]:             for ch_name in ['IBIAS', 'USHER', 'GUARD']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[538]:     beb_scical.recall_scope_config(1, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[545]:     max_voltage = abs(offset) + (amplitude / 2)
../../GSEOS_scripts/INSTR\instr_scical_full.py[547]:     vdiv = (max_voltage * .0029612) / 2.5
../../GSEOS_scripts/INSTR\instr_scical_full.py[548]:     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(vdiv)) # not really needed since ch3 is SENSOR, but ok w/e
../../GSEOS_scripts/INSTR\instr_scical_full.py[549]:     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[565]:     ch4vdiv = (ds_amplitude / .63) / 3
../../GSEOS_scripts/INSTR\instr_scical_full.py[566]:     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[575]:     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[576]:     sleeptime = 3 + ((10*secdiv) * 32) # * 32 because scope is averaging 16 times and this has to settle
../../GSEOS_scripts/INSTR\instr_scical_full.py[577]:     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[578]:     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[580]:     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[593]:     sensor_meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS1:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[594]:     if(sensor_meas_amplitude < 1000):
../../GSEOS_scripts/INSTR\instr_scical_full.py[595]:         print >> log, "SENSOR Amplitude: %.4f V"  % (sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[599]:     try:
../../GSEOS_scripts/INSTR\instr_scical_full.py[600]:         retval.append(sensor_meas_amplitude)
../../GSEOS_scripts/INSTR\instr_scical_full.py[605]:     sensor_meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[606]:     print >> log, "SENSOR Offset: %.4f V"  % (sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[607]:     retval.append(sensor_meas_offset)
../../GSEOS_scripts/INSTR\instr_scical_full.py[610]:     beb_scical.recall_scope_config(2, readback=False)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[547]:     print >> log, "Recalling scope saved config %d" % (scope_config_num)
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[548]:     scope.gpib_cmd('recall:setup %d' % (scope_config_num))
../../GSEOS_scripts/BEB/science_calibration\beb_scical.py[549]:     if(readback):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[626]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[627]:                     beb_scical.matrix_config(matrix_map[channel])
../../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/INSTR\instr_scical_full.py[632]:                     gain = estimate_gain(freq, channel, fbox)
../../GSEOS_scripts/INSTR\instr_scical_full.py[346]:     which_channel = which_channel.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[347]:     fbox = fbox.lower()
../../GSEOS_scripts/INSTR\instr_scical_full.py[348]:     if(which_channel.startswith('ef')):
../../GSEOS_scripts/INSTR\instr_scical_full.py[349]:        which_channel = 'vsphere'
../../GSEOS_scripts/INSTR\instr_scical_full.py[353]:     transform_tb = {'emfisis': {'grounded': [40,
../../GSEOS_scripts/INSTR\instr_scical_full.py[372]:     cutoff, fn_lo, fn_hi = transform_tb[which_channel][fbox]
../../GSEOS_scripts/INSTR\instr_scical_full.py[373]:     if(freq > cutoff):
../../GSEOS_scripts/INSTR\instr_scical_full.py[376]:         transform = fn_lo
../../GSEOS_scripts/INSTR\instr_scical_full.py[377]:     return(transform(freq))
../../GSEOS_scripts/INSTR\instr_scical_full.py[363]:                                              lambda x: -6.618763774E-2 * math.log(x) + 9.770125479E-1,
../../GSEOS_scripts/INSTR\instr_scical_full.py[633]:                     ch2vdiv = vdiv * gain
../../GSEOS_scripts/INSTR\instr_scical_full.py[634]:                     beb_scical.scope.gpib_cmd('ch2:scale %s' % str(ch2vdiv)) # set me based on gain estimate
../../GSEOS_scripts/INSTR\instr_scical_full.py[635]:                     beb_scical.scope.gpib_cmd('ch3:scale %s' % str(vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[636]:                     beb_scical.scope.gpib_cmd('ch4:scale %s' % str(ch4vdiv))
../../GSEOS_scripts/INSTR\instr_scical_full.py[637]:                     beb_scical.scope.gpib_cmd('horizontal:main:scale %s' % (str(secdiv)))
../../GSEOS_scripts/INSTR\instr_scical_full.py[642]:                     print >> log, "Sleeping %f seconds to wait for scope averaging to settle" % (sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[643]:                     time.sleep(sleeptime)
../../GSEOS_scripts/INSTR\instr_scical_full.py[645]:                     if(debug):
../../GSEOS_scripts/INSTR\instr_scical_full.py[658]:                     meas_amplitude = float(beb_scical.scope.gpib_cmd('measurement:MEAS2:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[659]:                     meas_offset = float(beb_scical.scope.gpib_cmd('measurement:MEAS3:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[660]:                     meas_phase = float(beb_scical.scope.gpib_cmd('measurement:MEAS4:data?').strip().split(',')[0])
../../GSEOS_scripts/INSTR\instr_scical_full.py[661]:                     if(meas_phase > 400):
../../GSEOS_scripts/INSTR\instr_scical_full.py[666]:                     retval += meas_amplitude, meas_offset, meas_phase
../../GSEOS_scripts/INSTR\instr_scical_full.py[667]:                     fmtstr = "Input: [%d V][%d Vpp][%d Hz][DAC Table %d] --> %s amplitude=%f mean=%f phase=%s"
../../GSEOS_scripts/INSTR\instr_scical_full.py[668]:                     print >> log, fmtstr % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[616]:         found = False
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[617]:         for sig_name in sig1:
../../GSEOS_scripts/INSTR\instr_scical_full.py[618]:             if sig_name in arg_map[channel]:
../../GSEOS_scripts/INSTR\instr_scical_full.py[619]:                 if(channel.startswith('EMFISIS') and
../../GSEOS_scripts/INSTR\instr_scical_full.py[621]:                     print >> log, "Not measuring EMFISIS when input signal > %d" % max_emfisis_amplitude
../../GSEOS_scripts/INSTR\instr_scical_full.py[623]:                     found = True
../../GSEOS_scripts/INSTR\instr_scical_full.py[624]:                     retval += None, None, None
../../GSEOS_scripts/INSTR\instr_scical_full.py[676]:                 break
../../GSEOS_scripts/INSTR\instr_scical_full.py[677]:         if(not found):
../../GSEOS_scripts/INSTR\instr_scical_full.py[615]:     for channel in all_channels:
../../GSEOS_scripts/INSTR\instr_scical_full.py[683]:     retval += readbacks
../../GSEOS_scripts/INSTR\instr_scical_full.py[685]:     if(burst_collect):
../../GSEOS_scripts/INSTR\instr_scical_full.py[689]:     return retval
../../GSEOS_scripts/INSTR\instr_scical_full.py[825]:                     results[offset][amplitude][freq][table_number] = data
../../GSEOS_scripts/INSTR\instr_scical_full.py[828]:                     results['end_time'] = str(datetime.datetime.now())
../../GSEOS_scripts/INSTR\instr_scical_full.py[831]:                     f = open(pickle_filename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[832]:                     pkl = cPickle.dumps(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[833]:                     f.write(pkl)
../../GSEOS_scripts/INSTR\instr_scical_full.py[834]:                     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[835]:                     print >> log, "Wrote %s" % pickle_filename
../../GSEOS_scripts/INSTR\instr_scical_full.py[823]:                 for table_number in which_dac_tables:
../../GSEOS_scripts/INSTR\instr_scical_full.py[819]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[815]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[811]:     for offset in offsets:
../../GSEOS_scripts/INSTR\instr_scical_full.py[838]:     write_results(results)
../../GSEOS_scripts/INSTR\instr_scical_full.py[396]:     fbox = results['fbox']
../../GSEOS_scripts/INSTR\instr_scical_full.py[397]:     sig1 = results['sig1']
../../GSEOS_scripts/INSTR\instr_scical_full.py[398]:     gnd = results['gnd']
../../GSEOS_scripts/INSTR\instr_scical_full.py[399]:     others = results['others']
../../GSEOS_scripts/INSTR\instr_scical_full.py[402]:     fn = "FULL_fbox-%s_sig-%s.csv" % (fbox, '-'.join(sig1))
../../GSEOS_scripts/INSTR\instr_scical_full.py[403]:     outfilename = os.path.join(settings.full_output_path, '%s_%s' % (settings.relative_output_path, fn))
../../GSEOS_scripts/INSTR\instr_scical_full.py[406]:     if(os.path.exists(outfilename)):
../../GSEOS_scripts/INSTR\instr_scical_full.py[418]:         f = open(outfilename, 'wb')
../../GSEOS_scripts/INSTR\instr_scical_full.py[419]:         f.write('instr_scical_full test output\n\n' +\
../../GSEOS_scripts/INSTR\instr_scical_full.py[429]:         f.write('DAC Table configuration:\n')
../../GSEOS_scripts/INSTR\instr_scical_full.py[430]:         for table_number in range(1,5):
../../GSEOS_scripts/INSTR\instr_scical_full.py[431]:             f.write('Table %d - %s:\n' % (table_number, dac_table_names[table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[432]:             for channel_name in dac_tables[table_number].keys():
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[434]:                 line = ",%s,%s\n" % (channel_name, values)
../../GSEOS_scripts/INSTR\instr_scical_full.py[435]:                 f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[432]:             for channel_name in dac_tables[table_number].keys():
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[434]:                 line = ",%s,%s\n" % (channel_name, values)
../../GSEOS_scripts/INSTR\instr_scical_full.py[435]:                 f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[432]:             for channel_name in dac_tables[table_number].keys():
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[434]:                 line = ",%s,%s\n" % (channel_name, values)
../../GSEOS_scripts/INSTR\instr_scical_full.py[435]:                 f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[432]:             for channel_name in dac_tables[table_number].keys():
../../GSEOS_scripts/INSTR\instr_scical_full.py[430]:         for table_number in range(1,5):
../../GSEOS_scripts/INSTR\instr_scical_full.py[431]:             f.write('Table %d - %s:\n' % (table_number, dac_table_names[table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[432]:             for channel_name in dac_tables[table_number].keys():
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[434]:                 line = ",%s,%s\n" % (channel_name, values)
../../GSEOS_scripts/INSTR\instr_scical_full.py[435]:                 f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[432]:             for channel_name in dac_tables[table_number].keys():
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[434]:                 line = ",%s,%s\n" % (channel_name, values)
../../GSEOS_scripts/INSTR\instr_scical_full.py[435]:                 f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[432]:             for channel_name in dac_tables[table_number].keys():
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[434]:                 line = ",%s,%s\n" % (channel_name, values)
../../GSEOS_scripts/INSTR\instr_scical_full.py[435]:                 f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[432]:             for channel_name in dac_tables[table_number].keys():
../../GSEOS_scripts/INSTR\instr_scical_full.py[430]:         for table_number in range(1,5):
../../GSEOS_scripts/INSTR\instr_scical_full.py[431]:             f.write('Table %d - %s:\n' % (table_number, dac_table_names[table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[432]:             for channel_name in dac_tables[table_number].keys():
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[434]:                 line = ",%s,%s\n" % (channel_name, values)
../../GSEOS_scripts/INSTR\instr_scical_full.py[435]:                 f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[432]:             for channel_name in dac_tables[table_number].keys():
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[434]:                 line = ",%s,%s\n" % (channel_name, values)
../../GSEOS_scripts/INSTR\instr_scical_full.py[435]:                 f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[432]:             for channel_name in dac_tables[table_number].keys():
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[434]:                 line = ",%s,%s\n" % (channel_name, values)
../../GSEOS_scripts/INSTR\instr_scical_full.py[435]:                 f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[432]:             for channel_name in dac_tables[table_number].keys():
../../GSEOS_scripts/INSTR\instr_scical_full.py[430]:         for table_number in range(1,5):
../../GSEOS_scripts/INSTR\instr_scical_full.py[431]:             f.write('Table %d - %s:\n' % (table_number, dac_table_names[table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[432]:             for channel_name in dac_tables[table_number].keys():
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[434]:                 line = ",%s,%s\n" % (channel_name, values)
../../GSEOS_scripts/INSTR\instr_scical_full.py[435]:                 f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[432]:             for channel_name in dac_tables[table_number].keys():
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[434]:                 line = ",%s,%s\n" % (channel_name, values)
../../GSEOS_scripts/INSTR\instr_scical_full.py[435]:                 f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[432]:             for channel_name in dac_tables[table_number].keys():
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[433]:                 values = ','.join(map(lambda x: '0x%04x' % (x), dac_tables[table_number][channel_name]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[434]:                 line = ",%s,%s\n" % (channel_name, values)
../../GSEOS_scripts/INSTR\instr_scical_full.py[435]:                 f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[432]:             for channel_name in dac_tables[table_number].keys():
../../GSEOS_scripts/INSTR\instr_scical_full.py[430]:         for table_number in range(1,5):
../../GSEOS_scripts/INSTR\instr_scical_full.py[437]:         f.write('\n')
../../GSEOS_scripts/INSTR\instr_scical_full.py[439]:     f.write('Time started:%s\nTime completed:%s\nFBOX=%s\nsig1=%s\ngnd=%s\n' % (results['start_time'],
../../GSEOS_scripts/INSTR\instr_scical_full.py[444]:     f.write('Others: %s' % str(others))
../../GSEOS_scripts/INSTR\instr_scical_full.py[446]:     f.write('DC_offset,Amplitude,Frequency,DAC_table,S,S_off,' +\
../../GSEOS_scripts/INSTR\instr_scical_full.py[460]:     for offset in offsets:
../../GSEOS_scripts/INSTR\instr_scical_full.py[461]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[461]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[461]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[461]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[460]:     for offset in offsets:
../../GSEOS_scripts/INSTR\instr_scical_full.py[461]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[461]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[461]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[461]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[460]:     for offset in offsets:
../../GSEOS_scripts/INSTR\instr_scical_full.py[461]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[461]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[461]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[464]:                     values = ','.join(map(lambda x: str(x), results[offset][amplitude][freq][table_number]))
../../GSEOS_scripts/INSTR\instr_scical_full.py[465]:                     line = "%d,%d,%d,%d,%s\n" % (offset,
../../GSEOS_scripts/INSTR\instr_scical_full.py[470]:                     f.write(line)
../../GSEOS_scripts/INSTR\instr_scical_full.py[463]:                 for table_number in results['which_dac_tables']:
../../GSEOS_scripts/INSTR\instr_scical_full.py[462]:             for freq in freqs:
../../GSEOS_scripts/INSTR\instr_scical_full.py[461]:         for amplitude in amplitudes:
../../GSEOS_scripts/INSTR\instr_scical_full.py[460]:     for offset in offsets:
../../GSEOS_scripts/INSTR\instr_scical_full.py[471]:     f.write('\n\n')
../../GSEOS_scripts/INSTR\instr_scical_full.py[472]:     f.close()
../../GSEOS_scripts/INSTR\instr_scical_full.py[473]:     print >> log, "Wrote %s" % (outfilename)
../../GSEOS_scripts/INSTR\instr_scical_full.py[841]:     do_reset()
../../GSEOS_scripts/INSTR\instr_scical_full.py[301]:     print >> log, "Resetting switch matrices and signal generator."
../../GSEOS_scripts/INSTR\instr_scical_full.py[302]:     reset_ext_matrix()
../../GSEOS_scripts/INSTR\instr_scical_full.py[290]:     print >> log, "Resetting external switch matrix"
../../GSEOS_scripts/INSTR\instr_scical_full.py[291]:     gpib_addr = 9
../../GSEOS_scripts/INSTR\instr_scical_full.py[292]:     ip = '192.168.1.14'
../../GSEOS_scripts/INSTR\instr_scical_full.py[293]:     tcp_port = 1234
../../GSEOS_scripts/INSTR\instr_scical_full.py[294]:     s = sw_matrix.sw_matrix(gpib_addr, ip, tcp_port)
../../GSEOS_scripts/INSTR\instr_scical_full.py[295]:     s.reset('ALL')
../../GSEOS_scripts/INSTR\instr_scical_full.py[303]:     beb_scical.ds.set_ampl(0)
../../GSEOS_scripts/INSTR\instr_scical_full.py[304]:     beb_scical.ds.set_mod_enable(False)
../../GSEOS_scripts/INSTR\instr_scical_full.py[305]:     beb_scical.matrix.reset('ALL')
../../GSEOS_scripts/INSTR\instr_scical_full.py[306]:     beb_scical.scope.force_trig()
../../GSEOS_scripts/INSTR\instr_scical_full.py[844]:     scr.dfb_set_matrix( s, gnd=[ 'EF1', 'EF2', 'EF3', 'EF4', 'EF5', 'EF6'])
../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """
../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]:     def reset(self, n):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]:     def close(self, n):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]:     def open(self, n):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test():
../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: """
../../GSEOS_scripts/DFB\dfb_set_matrix.py[50]: def main(matrix, sig1=[], sig2=[], gnd=[], open=[], others=None):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[144]: class foo:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[146]:     def reset(self, n):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[149]:     def close(self, n):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[152]:     def open(self, n):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[155]: def test():
../../GSEOS_scripts/DFB\dfb_set_matrix.py[51]:     channel_map = {'EF1': {'sig1': [211],
../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]:     all_channels = channel_map.keys()
../../GSEOS_scripts/DFB\dfb_set_matrix.py[105]:     if(others in channel_map['EF1'].keys()):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[114]:     elif(others == None):
../../GSEOS_scripts/DFB\dfb_set_matrix.py[116]:         others_list = []
../../GSEOS_scripts/DFB\dfb_set_matrix.py[121]:     matrix.reset(200) # open everything
../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]:     matrix.reset(300)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]:     for item in sig1:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]:     for item in sig2:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]:     for item in gnd:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[130]:         for chan in channel_map[item]['gnd']:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[131]:             matrix.close(chan)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[130]:         for chan in channel_map[item]['gnd']:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]:     for item in gnd:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[130]:         for chan in channel_map[item]['gnd']:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[131]:             matrix.close(chan)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[130]:         for chan in channel_map[item]['gnd']:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]:     for item in gnd:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[130]:         for chan in channel_map[item]['gnd']:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[131]:             matrix.close(chan)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[130]:         for chan in channel_map[item]['gnd']:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]:     for item in gnd:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[130]:         for chan in channel_map[item]['gnd']:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[131]:             matrix.close(chan)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[130]:         for chan in channel_map[item]['gnd']:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]:     for item in gnd:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[130]:         for chan in channel_map[item]['gnd']:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[131]:             matrix.close(chan)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[130]:         for chan in channel_map[item]['gnd']:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]:     for item in gnd:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[130]:         for chan in channel_map[item]['gnd']:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[131]:             matrix.close(chan)
../../GSEOS_scripts/DFB\dfb_set_matrix.py[130]:         for chan in channel_map[item]['gnd']:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[129]:     for item in gnd:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[132]:     for item in open:
../../GSEOS_scripts/DFB\dfb_set_matrix.py[135]:     for item in others_list: