Trace collected at: 2010-05-17 14:43:34.401000 ---------------------------------------------------------------------- ../../GSEOS_scripts/examples\ex15_sw_matrix.py[17]: gpib_addr = 9 ../../GSEOS_scripts/examples\ex15_sw_matrix.py[18]: ip = '192.168.0.4' ../../GSEOS_scripts/examples\ex15_sw_matrix.py[19]: tcp_port = 1234 ../../GSEOS_scripts/examples\ex15_sw_matrix.py[20]: s = sw_matrix.sw_matrix(gpib_addr, ip, tcp_port) ../../GSEOS_scripts/examples\ex15_sw_matrix.py[28]: print >> log, "Closing channel 213. 213 means slot 200, row 1, column 3." ../../GSEOS_scripts/examples\ex15_sw_matrix.py[29]: s.close(213) ../../GSEOS_scripts/examples\ex15_sw_matrix.py[31]: print >> log, "Closing channels 213,214, and 215." ../../GSEOS_scripts/examples\ex15_sw_matrix.py[32]: s.close([213,214,215]) ../../GSEOS_scripts/examples\ex15_sw_matrix.py[34]: print >> log, "Closing channel 213 and opening all other channels." ../../GSEOS_scripts/examples\ex15_sw_matrix.py[35]: s.close(213, exclusive=True) ../../GSEOS_scripts/examples\ex15_sw_matrix.py[38]: state = s.get_state(213) ../../GSEOS_scripts/examples\ex15_sw_matrix.py[39]: print >> log, "State of channel 213: %s" % (state) ../../GSEOS_scripts/examples\ex15_sw_matrix.py[42]: state = s.get_state([213,214,215]) ../../GSEOS_scripts/examples\ex15_sw_matrix.py[43]: print >> log, "State of channels [213,214,215]: %s" % (state) ../../GSEOS_scripts/examples\ex15_sw_matrix.py[45]: print >> log, "Opening channels 213,214, and 215." ../../GSEOS_scripts/examples\ex15_sw_matrix.py[46]: s.open([213,214,215]) ../../GSEOS_scripts/examples\ex15_sw_matrix.py[49]: state = s.get_state([213,214,215]) ../../GSEOS_scripts/examples\ex15_sw_matrix.py[50]: print >> log, "State of channels [213,214,215]: %s" % (state) ../../GSEOS_scripts/examples\ex15_sw_matrix.py[53]: print >> log, s.dump_state(300) ../../GSEOS_scripts/examples\ex15_sw_matrix.py[56]: s.reset(300) ../../GSEOS_scripts/examples\ex15_sw_matrix.py[59]: s.reset('ALL') ../../GSEOS_scripts/examples\ex15_sw_matrix.py[67]: scr.dfb_set_matrix(s, signal=['EF1'], others='gnd') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[46]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: def main(matrix, signal=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[46]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: def main(matrix, signal=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[53]: channel_map = {'EF1': {'sig': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[89]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[95]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[96]: sig_gnd_open = signal + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[98]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[112]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[113]: for item in signal: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[114]: for chan in channel_map[item]['sig']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[115]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[114]: for chan in channel_map[item]['sig']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[113]: for item in signal: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[116]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[119]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[126]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/examples\ex15_sw_matrix.py[71]: scr.dfb_set_matrix(s, signal=['EF1'], gnd=['MAGU', 'MAGV', 'MAGW'], others='open') ../../GSEOS_scripts/DFB\dfb_set_matrix.py[46]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: def main(matrix, signal=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[46]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: def main(matrix, signal=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[53]: channel_map = {'EF1': {'sig': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[89]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[95]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[96]: sig_gnd_open = signal + gnd + open ../../GSEOS_scripts/DFB\dfb_set_matrix.py[98]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[100]: if item not in sig_gnd_open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[101]: others_list.append(item) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[99]: for item in all_channels: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[112]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[113]: for item in signal: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[114]: for chan in channel_map[item]['sig']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[115]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[114]: for chan in channel_map[item]['sig']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[113]: for item in signal: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[116]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[117]: for chan in channel_map[item]['gnd']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[118]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[117]: for chan in channel_map[item]['gnd']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[118]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[117]: for chan in channel_map[item]['gnd']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[116]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[117]: for chan in channel_map[item]['gnd']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[118]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[117]: for chan in channel_map[item]['gnd']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[118]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[117]: for chan in channel_map[item]['gnd']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[116]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[117]: for chan in channel_map[item]['gnd']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[118]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[117]: for chan in channel_map[item]['gnd']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[118]: matrix.close(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[117]: for chan in channel_map[item]['gnd']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[116]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[119]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[124]: if(others == 'gnd' or ../../GSEOS_scripts/DFB\dfb_set_matrix.py[127]: elif(others == 'open'): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[128]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[123]: for chan in channel_map[item][others]: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: ../../GSEOS_scripts/examples\ex15_sw_matrix.py[74]: scr.dfb_set_matrix(s, open=['SCMU']) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[46]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: def main(matrix, signal=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[46]: """ ../../GSEOS_scripts/DFB\dfb_set_matrix.py[48]: def main(matrix, signal=[], gnd=[], open=[], others=None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[53]: channel_map = {'EF1': {'sig': [211], ../../GSEOS_scripts/DFB\dfb_set_matrix.py[89]: all_channels = channel_map.keys() ../../GSEOS_scripts/DFB\dfb_set_matrix.py[95]: if(others in channel_map['EF1'].keys()): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[104]: elif(others == None): ../../GSEOS_scripts/DFB\dfb_set_matrix.py[106]: others_list = [] ../../GSEOS_scripts/DFB\dfb_set_matrix.py[111]: matrix.reset(200) # open everything ../../GSEOS_scripts/DFB\dfb_set_matrix.py[112]: matrix.reset(300) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[113]: for item in signal: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[116]: for item in gnd: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[119]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[120]: for chan in channel_map[item]['open']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[121]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[120]: for chan in channel_map[item]['open']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[121]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[120]: for chan in channel_map[item]['open']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[121]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[120]: for chan in channel_map[item]['open']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[121]: matrix.open(chan) ../../GSEOS_scripts/DFB\dfb_set_matrix.py[120]: for chan in channel_map[item]['open']: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[119]: for item in open: ../../GSEOS_scripts/DFB\dfb_set_matrix.py[122]: for item in others_list: