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

cleanups

parent 101b3d72
......@@ -231,8 +231,7 @@ def get_E(ki, kf):
# -----------------------------------------------------------------------------
# GUI
# -----------------------------------------------------------------------------
class GUI:
class TasGUI:
B = np.array([[1,0,0], [0,1,0], [0,0,1]])
orient_rlu = np.array([1,0,0])
orient2_rlu = np.array([0,1,0])
......@@ -252,7 +251,6 @@ class GUI:
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# crystal tab
def xtalChanged(self):
......@@ -295,7 +293,6 @@ class GUI:
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# tas tab
def TASChanged(self):
......@@ -437,7 +434,6 @@ class GUI:
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# info/settings tab
def comboA3ConvChanged(self):
......@@ -447,9 +443,6 @@ class GUI:
# -----------------------------------------------------------------------------
#
# show qt GUI
#
......@@ -475,7 +468,6 @@ class GUI:
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# main application
np.set_printoptions(suppress=True, precision=4)
......@@ -492,7 +484,6 @@ class GUI:
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# crystal tab
xtalpanel = qtw.QWidget()
......@@ -571,7 +562,6 @@ class GUI:
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# tas tab
taspanel = qtw.QWidget()
......@@ -678,7 +668,6 @@ class GUI:
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# info/settings tab
infopanel = qtw.QWidget()
......@@ -711,7 +700,6 @@ class GUI:
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# main dialog window
dlg = qtw.QDialog()
......@@ -762,9 +750,10 @@ class GUI:
# -----------------------------------------------------------------------------
#
# 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