Commit 369633e2 authored by Matheus Müller's avatar Matheus Müller

Novas funçoes e melhorias no metodo de produzir o grafico do sinal

parent 08454278
......@@ -168,10 +168,10 @@ def ewin_build(window, OFlabentries, mainwindow, calcbutton, distvar, modevar, L
global i, Econtrol
arquivo = tkFileDialog.askopenfile()
for n in arange(9,18):
OFlabentries[n].delete(0,len(OFlabentries[n].get()))
OFlabentries[n].delete(0,'end')
OFlabentries[n].insert(0,float(arquivo.readline()))
for n in arange(21,24):
OFlabentries[n].delete(0,len(OFlabentries[n].get()))
for n in arange(21,25):
OFlabentries[n].delete(0,'end')
OFlabentries[n].insert(0,float(arquivo.readline()))
f = loadtxt(arquivo.name + '.elm', dtype="string")
els = f[:, 0]
......@@ -205,10 +205,10 @@ def ewin_build(window, OFlabentries, mainwindow, calcbutton, distvar, modevar, L
elist = open(config.name + '.elm', 'w+')
for k in arange(9,18):
config.write( (OFlabentries[k].get())+'\n' )
for j in arange(21,24):
for j in arange(21,25):
config.write( (OFlabentries[j].get())+'\n' )
config.write( '##############################################################################\n' )
config.write( '# dƐ/dx\n# dω²/dx\n# θ out\n# θ in\n# FWHM\n# E min\n# E max\n# E step\n# Depth step\n# Ion energy\n# Ion mass\n# Ion Z\n' )
config.write( '# dƐ/dx\n# dω²/dx\n# θ out\n# θ in\n# FWHM\n# E min\n# E max\n# E step\n# Depth step\n# Ion energy\n# Ion mass\n# Ion Z\n # Dose\n' )
for n in range(len(Edict)):
elist.write(Edict[n]['symbol']+' ')
elist.write(Edict[n]['name']+' ')
......
No preview for this file type
0 0
1.9523573201 0.00520408163265
3.10669975186 0.345255102041
5.20794044664 0.0691326530602
2.84863523573 0.842704081633
7.2129032258 0.932270408162
10.0 0
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.00520408163265
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.345255102041
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0691326530602
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0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