code
stringlengths
3
6.57k
define_current_chip(chipid)
load_stock_map('clear')
caput(pv.me14e_gp2, 1)
caget(pv.me14e_gp1)
caput(pv.me14e_gp1, 0)
caput(pv.me14e_gp1, 1)
caput(pv.me14e_gp1, 2)
caput(pv.me14e_gp1, 2)
caput(pv.me14e_gp1, 3)
caput(pv.me14e_gp1, 4)
caput(pv.me14e_gp1, 5)
open(param_path + chipid + '.pvar', 'r')
f.readlines()
line.rstrip('\n')
line.startswith('#')
caput(pv.me14e_pmac_str, s)
save_screen_map()
open(litemap_path + 'currentchip.map','w')
range(1, 82)
caget(block_str)
f.write(line)
f.close()
upload_parameters(chipid)
caput(pv.me14e_gp1, 0)
caput(pv.me14e_gp1, 1)
caput(pv.me14e_gp1, 2)
caput(pv.me14e_gp1, 3)
caput(pv.me14e_gp1, 4)
caput(pv.me14e_gp1, 5)
open(litemap_path + 'currentchip.map','r')
f.readlines()
line.split( )
sys.stdout.write(s2)
sys.stdout.write(s+' ')
sys.stdout.flush()
caput(pv.me14e_pmac_str, s)
sleep(0.02)
caput(pv.me14e_gp2, 1)
upload_full()
open(fullmap_path + 'currentchip.full', 'r')
readlines()
range(len(f)
range(2)
pmac_list.append(f.pop(0)
rstrip('\n')
join(pmac_list)
caput(pv.me14e_pmac_str, writeline)
sleep(0.02)
load_stock_map(map_choice)
range(49)
range(1, 82)
str(i + 10)
caput(pvar, 0)
sys.stdout.write('.')
sys.stdout.flush()
str(i + 10)
caput(pvar, 1)
load_lite_map()
load_stock_map('clear')
wrong (columns and rows need to flip)
caget(pv.me14e_gp1)
list(range(1,9)
enumerate(columns)
enumerate(rows)
print('something is wrong with chip grid creation')
str(row)
str(column)
str(caget(pv.me14e_gp5)
open(litemap_path + litemap_fid, 'r')
f.readlines()
line.split()
str(int(block_num)
caput(pvar, yesno)
load_full_map(location ='SACLA')
startup.scrape_parameter_file(location)
startup.scrape_parameter_file(location)
str(caget(pv.me14e_gp5)
mapping.plot_file(fullmap_fid, chip_type)
mapping.convert_chip_to_hex(full_map_fid, chip_type)
os.system("cp %s %s" % (fullmap_fid[:-4]+'full', fullmap_path+'currentchip.full')
moveto(place)
caget(pv.me14e_gp1)
caput(pv.me14e_stage_x, 0.0)
caput(pv.me14e_stage_y, 0.0)
caput(pv.me14e_stage_x, +18.975)
caput(pv.me14e_stage_y, 0.0)
caput(pv.me14e_stage_x, 0.0)
caput(pv.me14e_stage_y, +21.375)
caput(pv.me14e_stage_x, 0.0)
caput(pv.me14e_stage_y, 0.0)
caput(pv.me14e_stage_x, 25.40)
caput(pv.me14e_stage_y, 0.0)
caput(pv.me14e_stage_x, 0.0)
caput(pv.me14e_stage_y, 25.40)
caput(pv.me14e_stage_x, 0.0)
caput(pv.me14e_stage_y, 0.0)
caput(pv.me14e_stage_x, +17.16)
caput(pv.me14e_stage_x, +24.968)
caput(pv.me14e_stage_y, 0.0)
caput(pv.me14e_stage_x, 0.0)