From 4f937fb6404947da0924f0eb7114a4bd63413a9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matheus=20M=C3=BCller?= Date: Mon, 9 Jan 2012 11:09:30 -0200 Subject: [PATCH] Melhorias no codigo, mais features e pasta Pezzi --- Al.dat | 4 +- Al.prof | 206 ++++---- Ewindow.py | 9 +- La.dat | 4 +- La.prof | 202 ++++---- O.dat | 5 +- O.prof | 1348 +++++++--------------------------------------------- PTE.py | 1 + Sr.dat | 3 +- Sr.prof | 24 +- Ti.dat | 4 +- Ti.prof | 40 +- config.cfg | 6 +- 13 files changed, 431 insertions(+), 1425 deletions(-) diff --git a/Al.dat b/Al.dat index 302302e..f673024 100644 --- a/Al.dat +++ b/Al.dat @@ -13,5 +13,7 @@ 0.0 0.0 0.0 0.0 0.0 0.0 -1.03722084368 0.214285714286 +0.0 0.0 +0.0 0.0 +1.03722084368 0.219387755102 5.0 0 diff --git a/Al.prof b/Al.prof index 772744f..3ae0ac2 100644 --- a/Al.prof +++ b/Al.prof @@ -1,106 +1,106 @@ -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 -0.214285714286 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 +0.219387755102 0.0 0.0 0.0 diff --git a/Ewindow.py b/Ewindow.py index 1b7907f..534c375 100644 --- a/Ewindow.py +++ b/Ewindow.py @@ -71,6 +71,7 @@ def ewin_build(window, EntryDstep): if Econtrol == i: Econtrol = Econtrol -1 Ebuttons[Econtrol]['relief']='sunken' + elem_select(0, Ebuttons) ############################################################################## # Element Frames @@ -173,13 +174,13 @@ def ewin_build(window, EntryDstep): elem_select(0,Ebuttons) def SAVESAMPLE(): - elist = open("elements.cfg", 'w+') + elist = tkFileDialog.asksaveasfile(mode='w') for n in range(len(Ebuttons)): elist.write(Edict[n]['symbol']+' ') elist.write(Edict[n]['name']+' ') elist.write(str(Edict[n]['mass'])+' ') elist.write(str(Edict[n]['Z'])+' ') - elist.write(str(Edict[n]['LineShape'])+'\n') + elist.write(str(Edict[n]['LineShape'])+' ') elist.write(str(Edict[n]['profundidademax'])+'\n') elist.close() @@ -188,13 +189,10 @@ def ewin_build(window, EntryDstep): but = tk.Button(EPframel2, command=create, text='Add element', bd=1, height=1,width=15) but.pack() - butrmv = tk.Button(EPframel2, command=remove, text='Remove element', bd=1, height=1,width=15) butrmv.pack() - butPTE = tk.Button(EPframel2, text='Show PTE', bd=1, width=15, command=lambda i=i :elem_callback(Econtrol,Edict,Ebuttons) ) butPTE.pack() - BUpdate = tk.Button(EPframel2, text ='Update properties', command=lambda i=int(Econtrol) :update(Econtrol), width=15) BUpdate.pack() @@ -203,7 +201,6 @@ def ewin_build(window, EntryDstep): BLoad = tk.Button(EPframel, text ='Load Sample', command=lambda i=int(Econtrol) :LOADSAMPLE(), width=15) BLoad.pack() - BSave = tk.Button(EPframee, text ='Save Sample', command=lambda i=int(Econtrol) :SAVESAMPLE(), width=15) BSave.pack() diff --git a/La.dat b/La.dat index f0701b3..69b0afa 100644 --- a/La.dat +++ b/La.dat @@ -3,5 +3,7 @@ 0.0 0.0 0.0 0.0 0.0 0.0 -0.975806451611 0.201530612245 +0.0 0.0 +0.0 0.0 +1.01550868486 0.206632653061 5.0 0 diff --git a/La.prof b/La.prof index 3f94230..da86295 100644 --- a/La.prof +++ b/La.prof @@ -1,104 +1,104 @@ -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.0 -0.0 -0.0 -0.0 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 +0.206632653061 0.0 0.0 0.0 diff --git a/O.dat b/O.dat index b637c2e..4868326 100644 --- a/O.dat +++ b/O.dat @@ -1,4 +1,5 @@ 0 0 0.0 0.0 -17.9702233251 0.599489795918 - +0.0 0.0 +19.7171215881 0.599489795918 +20.0 0 diff --git a/O.prof b/O.prof index 9093e2a..6ec8c9b 100644 --- a/O.prof +++ b/O.prof @@ -1795,1180 +1795,180 @@ 0.599489795918 0.599489795918 0.599489795918 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -0.00510204081633 -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 -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 -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 -0.0 -0.0 -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.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.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.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.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.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 +0.599489795918 0.0 0.0 0.0 diff --git a/PTE.py b/PTE.py index b577fce..2bf7835 100644 --- a/PTE.py +++ b/PTE.py @@ -1,5 +1,6 @@ import Tkinter as tk from PTEdict import * +from numpy import arange #################################################### # PTE building diff --git a/Sr.dat b/Sr.dat index b891e0e..6b3a85e 100644 --- a/Sr.dat +++ b/Sr.dat @@ -3,7 +3,8 @@ 0.0 0.0 0.0 0.0 0.0 0.0 -0.878411910668 0.00255102040816 +0.0 0.0 +0.99751861042 0.00255102040816 1.62034739454 0.201530612245 19.6550868487 0.204081632653 20.0 0 diff --git a/Sr.prof b/Sr.prof index 7bc35dd..cf757eb 100644 --- a/Sr.prof +++ b/Sr.prof @@ -85,18 +85,18 @@ 0.00255102040816 0.00255102040816 0.00255102040816 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 -0.201530612245 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 0.201530612245 0.201530612245 0.201530612245 diff --git a/Ti.dat b/Ti.dat index 53b3049..875ef98 100644 --- a/Ti.dat +++ b/Ti.dat @@ -3,7 +3,9 @@ 0.0 0.0 0.0 0.0 0.0 0.0 -0.838709677417 0.00255102040816 +0.0 0.0 +0.0 0.0 +1.03722084367 0.00255102040816 19.7047146403 0.237244897959 19.8039702233 0.0 20.0 0 diff --git a/Ti.prof b/Ti.prof index 1af2f7a..cc442d5 100644 --- a/Ti.prof +++ b/Ti.prof @@ -81,26 +81,26 @@ 0.00255102040816 0.00255102040816 0.00255102040816 -0.237244897959 -0.237244897959 -0.237244897959 -0.237244897959 -0.237244897959 -0.237244897959 -0.237244897959 -0.237244897959 -0.237244897959 -0.237244897959 -0.237244897959 -0.237244897959 -0.237244897959 -0.237244897959 -0.237244897959 -0.237244897959 -0.237244897959 -0.237244897959 -0.237244897959 -0.237244897959 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 +0.00255102040816 0.237244897959 0.237244897959 0.237244897959 diff --git a/config.cfg b/config.cfg index 9ec2a8d..3c7eef9 100644 --- a/config.cfg +++ b/config.cfg @@ -1,9 +1,9 @@ 211.9 -15150.0 -54.67 +15250.0 +56.67 3.0 300.0 -86000.0 +82000.0 99000.0 25.0 0.01 -- 2.22.0