Commit eb97447e authored by Tobias WEBER's avatar Tobias WEBER
Browse files

cleanups

parent 101b3d72
...@@ -231,8 +231,7 @@ def get_E(ki, kf): ...@@ -231,8 +231,7 @@ def get_E(ki, kf):
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# GUI # GUI
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
class GUI: class TasGUI:
B = np.array([[1,0,0], [0,1,0], [0,0,1]]) B = np.array([[1,0,0], [0,1,0], [0,0,1]])
orient_rlu = np.array([1,0,0]) orient_rlu = np.array([1,0,0])
orient2_rlu = np.array([0,1,0]) orient2_rlu = np.array([0,1,0])
...@@ -252,7 +251,6 @@ class GUI: ...@@ -252,7 +251,6 @@ class GUI:
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# crystal tab # crystal tab
def xtalChanged(self): def xtalChanged(self):
...@@ -295,7 +293,6 @@ class GUI: ...@@ -295,7 +293,6 @@ class GUI:
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# tas tab # tas tab
def TASChanged(self): def TASChanged(self):
...@@ -437,7 +434,6 @@ class GUI: ...@@ -437,7 +434,6 @@ class GUI:
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# info/settings tab # info/settings tab
def comboA3ConvChanged(self): def comboA3ConvChanged(self):
...@@ -447,9 +443,6 @@ class GUI: ...@@ -447,9 +443,6 @@ class GUI:
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# #
# show qt GUI # show qt GUI
# #
...@@ -475,7 +468,6 @@ class GUI: ...@@ -475,7 +468,6 @@ class GUI:
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# main application # main application
np.set_printoptions(suppress=True, precision=4) np.set_printoptions(suppress=True, precision=4)
...@@ -492,7 +484,6 @@ class GUI: ...@@ -492,7 +484,6 @@ class GUI:
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# crystal tab # crystal tab
xtalpanel = qtw.QWidget() xtalpanel = qtw.QWidget()
...@@ -571,7 +562,6 @@ class GUI: ...@@ -571,7 +562,6 @@ class GUI:
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# tas tab # tas tab
taspanel = qtw.QWidget() taspanel = qtw.QWidget()
...@@ -678,7 +668,6 @@ class GUI: ...@@ -678,7 +668,6 @@ class GUI:
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# info/settings tab # info/settings tab
infopanel = qtw.QWidget() infopanel = qtw.QWidget()
...@@ -711,7 +700,6 @@ class GUI: ...@@ -711,7 +700,6 @@ class GUI:
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# main dialog window # main dialog window
dlg = qtw.QDialog() dlg = qtw.QDialog()
...@@ -762,9 +750,10 @@ class GUI: ...@@ -762,9 +750,10 @@ class GUI:
# -----------------------------------------------------------------------------
# #
# main # main
# #
if __name__ == "__main__": if __name__ == "__main__":
gui = GUI() gui = TasGUI()
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment