Rearranged Main Layout (buttons to top menu), several tweaks for plotDynSNR
This commit is contained in:
parent
fb8d888845
commit
c7f7d9785b
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
import os
|
import os
|
||||||
|
import sys
|
||||||
import matplotlib
|
import matplotlib
|
||||||
matplotlib.use('Qt4Agg')
|
matplotlib.use('Qt4Agg')
|
||||||
matplotlib.rcParams['backend.qt4']='PySide'
|
matplotlib.rcParams['backend.qt4']='PySide'
|
||||||
@ -45,22 +46,23 @@ class gui_control(object):
|
|||||||
self.setConnected2SurveyState(False)
|
self.setConnected2SurveyState(False)
|
||||||
|
|
||||||
def connectButtons(self):
|
def connectButtons(self):
|
||||||
QtCore.QObject.connect(self.mainUI.gen_new_seisarray, QtCore.SIGNAL("clicked()"), self.gen_seisarray)
|
QtCore.QObject.connect(self.mainUI.actionGenerate_new_Seismic_Array, QtCore.SIGNAL("triggered()"), self.gen_seisarray)
|
||||||
QtCore.QObject.connect(self.mainUI.load_seisarray, QtCore.SIGNAL("clicked()"), self.load_seisarray)
|
QtCore.QObject.connect(self.mainUI.actionLoad_Seismic_Array, QtCore.SIGNAL("triggered()"), self.load_seisarray)
|
||||||
QtCore.QObject.connect(self.mainUI.save_seisarray, QtCore.SIGNAL("clicked()"), self.save_seisarray)
|
QtCore.QObject.connect(self.mainUI.actionSave_Seismic_Array, QtCore.SIGNAL("triggered()"), self.save_seisarray)
|
||||||
QtCore.QObject.connect(self.mainUI.connect_to_survey, QtCore.SIGNAL("clicked()"), self.connect2Survey)
|
QtCore.QObject.connect(self.mainUI.actionLoad_Survey, QtCore.SIGNAL("triggered()"), self.load_survey)
|
||||||
QtCore.QObject.connect(self.mainUI.interpolate_receivers, QtCore.SIGNAL("clicked()"), self.interpolate_receivers)
|
QtCore.QObject.connect(self.mainUI.actionSave_Survey, QtCore.SIGNAL("triggered()"), self.save_survey)
|
||||||
QtCore.QObject.connect(self.mainUI.gen_new_survey, QtCore.SIGNAL("clicked()"), self.gen_survey)
|
QtCore.QObject.connect(self.mainUI.actionConnect_to_Survey, QtCore.SIGNAL("triggered()"), self.connect2Survey)
|
||||||
QtCore.QObject.connect(self.mainUI.load_survey, QtCore.SIGNAL("clicked()"), self.load_survey)
|
QtCore.QObject.connect(self.mainUI.actionInterpolate_Receivers, QtCore.SIGNAL("triggered()"), self.interpolate_receivers)
|
||||||
QtCore.QObject.connect(self.mainUI.save_survey, QtCore.SIGNAL("clicked()"), self.save_survey)
|
QtCore.QObject.connect(self.mainUI.actionGenerate_new_Survey, QtCore.SIGNAL("triggered()"), self.gen_survey)
|
||||||
QtCore.QObject.connect(self.mainUI.picker, QtCore.SIGNAL("clicked()"), self.callPicker)
|
QtCore.QObject.connect(self.mainUI.actionAutomatic_Picking, QtCore.SIGNAL("triggered()"), self.callPicker)
|
||||||
QtCore.QObject.connect(self.mainUI.postprocessing, QtCore.SIGNAL("clicked()"), self.postprocessing)
|
QtCore.QObject.connect(self.mainUI.actionPostprocessing, QtCore.SIGNAL("triggered()"), self.postprocessing)
|
||||||
QtCore.QObject.connect(self.mainUI.fmtomo, QtCore.SIGNAL("clicked()"), self.startFMTOMO)
|
QtCore.QObject.connect(self.mainUI.actionStart_FMTOMO_Simulation, QtCore.SIGNAL("triggered()"), self.startFMTOMO)
|
||||||
QtCore.QObject.connect(self.mainUI.vtk_tools, QtCore.SIGNAL("clicked()"), self.startVTKtools)
|
QtCore.QObject.connect(self.mainUI.actionVTK_Visualization, QtCore.SIGNAL("triggered()"), self.startVTKtools)
|
||||||
|
QtCore.QObject.connect(self.mainUI.actionExit, QtCore.SIGNAL("triggered()"), self.exitApp)
|
||||||
QtCore.QObject.connect(self.mainUI.comboBox_stats, QtCore.SIGNAL("activated(int)"), self.refreshPickedWidgets)
|
QtCore.QObject.connect(self.mainUI.comboBox_stats, QtCore.SIGNAL("activated(int)"), self.refreshPickedWidgets)
|
||||||
QtCore.QObject.connect(self.mainUI.shot_left, QtCore.SIGNAL("clicked()"), self.decreaseShotnumber)
|
QtCore.QObject.connect(self.mainUI.shot_left, QtCore.SIGNAL("clicked()"), self.decreaseShotnumber)
|
||||||
QtCore.QObject.connect(self.mainUI.shot_right, QtCore.SIGNAL("clicked()"), self.increaseShotnumber)
|
QtCore.QObject.connect(self.mainUI.shot_right, QtCore.SIGNAL("clicked()"), self.increaseShotnumber)
|
||||||
QtCore.QObject.connect(self.mainUI.plot_shot, QtCore.SIGNAL("clicked()"), self.plotShot)
|
|
||||||
|
|
||||||
def gen_seisarray(self):
|
def gen_seisarray(self):
|
||||||
disconnect = False
|
disconnect = False
|
||||||
@ -394,8 +396,15 @@ class gui_control(object):
|
|||||||
|
|
||||||
def plotDynSNR(self):
|
def plotDynSNR(self):
|
||||||
fig = self.snrFig
|
fig = self.snrFig
|
||||||
fig.clear()
|
if fig.axes == []:
|
||||||
ax = fig.add_subplot(111)
|
ax = fig.add_subplot(111)
|
||||||
|
xlim = None
|
||||||
|
ylim = None
|
||||||
|
else:
|
||||||
|
ax = fig.axes[0]
|
||||||
|
xlim = ax.get_xlim()
|
||||||
|
ylim = ax.get_ylim()
|
||||||
|
ax.clear()
|
||||||
snrthresholds = []
|
snrthresholds = []
|
||||||
dists_p = []; snr_p = []
|
dists_p = []; snr_p = []
|
||||||
shiftSNR = float(self.picker_ui.shift_snr.value())
|
shiftSNR = float(self.picker_ui.shift_snr.value())
|
||||||
@ -417,6 +426,8 @@ class gui_control(object):
|
|||||||
ax.plot(dists, snrthresholds)
|
ax.plot(dists, snrthresholds)
|
||||||
ax.set_xlabel('Distance [m]')
|
ax.set_xlabel('Distance [m]')
|
||||||
ax.set_ylabel('SNR')
|
ax.set_ylabel('SNR')
|
||||||
|
ax.set_xlim(xlim)
|
||||||
|
ax.set_ylim(ylim)
|
||||||
self.snrCanvas.draw()
|
self.snrCanvas.draw()
|
||||||
|
|
||||||
def initDynSNRplot(self):
|
def initDynSNRplot(self):
|
||||||
@ -825,8 +836,10 @@ class gui_control(object):
|
|||||||
if len(directory) > 0:
|
if len(directory) > 0:
|
||||||
return directory
|
return directory
|
||||||
|
|
||||||
|
def exitApp(self):
|
||||||
|
QtCore.QCoreApplication.instance().quit()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import sys
|
|
||||||
app = QtGui.QApplication(sys.argv)
|
app = QtGui.QApplication(sys.argv)
|
||||||
MainWindow = QtGui.QMainWindow()
|
MainWindow = QtGui.QMainWindow()
|
||||||
ui = Ui_MainWindow()
|
ui = Ui_MainWindow()
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Form implementation generated from reading ui file 'asp3d_layout.ui'
|
# Form implementation generated from reading ui file 'asp3d_layout.ui'
|
||||||
#
|
#
|
||||||
# Created: Thu Jul 14 13:36:37 2016
|
# Created: Mon Jul 18 11:26:32 2016
|
||||||
# by: pyside-uic 0.2.15 running on PySide 1.2.2
|
# by: pyside-uic 0.2.15 running on PySide 1.2.2
|
||||||
#
|
#
|
||||||
# WARNING! All changes made in this file will be lost!
|
# WARNING! All changes made in this file will be lost!
|
||||||
@ -53,22 +53,6 @@ class Ui_MainWindow(object):
|
|||||||
self.label_2.setAlignment(QtCore.Qt.AlignCenter)
|
self.label_2.setAlignment(QtCore.Qt.AlignCenter)
|
||||||
self.label_2.setObjectName("label_2")
|
self.label_2.setObjectName("label_2")
|
||||||
self.verticalLayout.addWidget(self.label_2)
|
self.verticalLayout.addWidget(self.label_2)
|
||||||
self.gen_new_seisarray = QtGui.QPushButton(self.centralwidget)
|
|
||||||
self.gen_new_seisarray.setEnabled(True)
|
|
||||||
self.gen_new_seisarray.setObjectName("gen_new_seisarray")
|
|
||||||
self.verticalLayout.addWidget(self.gen_new_seisarray)
|
|
||||||
self.load_seisarray = QtGui.QPushButton(self.centralwidget)
|
|
||||||
self.load_seisarray.setObjectName("load_seisarray")
|
|
||||||
self.verticalLayout.addWidget(self.load_seisarray)
|
|
||||||
self.save_seisarray = QtGui.QPushButton(self.centralwidget)
|
|
||||||
self.save_seisarray.setObjectName("save_seisarray")
|
|
||||||
self.verticalLayout.addWidget(self.save_seisarray)
|
|
||||||
self.interpolate_receivers = QtGui.QPushButton(self.centralwidget)
|
|
||||||
self.interpolate_receivers.setObjectName("interpolate_receivers")
|
|
||||||
self.verticalLayout.addWidget(self.interpolate_receivers)
|
|
||||||
self.connect_to_survey = QtGui.QPushButton(self.centralwidget)
|
|
||||||
self.connect_to_survey.setObjectName("connect_to_survey")
|
|
||||||
self.verticalLayout.addWidget(self.connect_to_survey)
|
|
||||||
self.horizontalLayout_2 = QtGui.QHBoxLayout()
|
self.horizontalLayout_2 = QtGui.QHBoxLayout()
|
||||||
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
||||||
self.seisarray_active = QtGui.QLabel(self.centralwidget)
|
self.seisarray_active = QtGui.QLabel(self.centralwidget)
|
||||||
@ -142,15 +126,6 @@ class Ui_MainWindow(object):
|
|||||||
self.label_3.setAlignment(QtCore.Qt.AlignCenter)
|
self.label_3.setAlignment(QtCore.Qt.AlignCenter)
|
||||||
self.label_3.setObjectName("label_3")
|
self.label_3.setObjectName("label_3")
|
||||||
self.verticalLayout_2.addWidget(self.label_3)
|
self.verticalLayout_2.addWidget(self.label_3)
|
||||||
self.gen_new_survey = QtGui.QPushButton(self.centralwidget)
|
|
||||||
self.gen_new_survey.setObjectName("gen_new_survey")
|
|
||||||
self.verticalLayout_2.addWidget(self.gen_new_survey)
|
|
||||||
self.load_survey = QtGui.QPushButton(self.centralwidget)
|
|
||||||
self.load_survey.setObjectName("load_survey")
|
|
||||||
self.verticalLayout_2.addWidget(self.load_survey)
|
|
||||||
self.save_survey = QtGui.QPushButton(self.centralwidget)
|
|
||||||
self.save_survey.setObjectName("save_survey")
|
|
||||||
self.verticalLayout_2.addWidget(self.save_survey)
|
|
||||||
self.horizontalLayout = QtGui.QHBoxLayout()
|
self.horizontalLayout = QtGui.QHBoxLayout()
|
||||||
self.horizontalLayout.setObjectName("horizontalLayout")
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
||||||
self.survey_active = QtGui.QLabel(self.centralwidget)
|
self.survey_active = QtGui.QLabel(self.centralwidget)
|
||||||
@ -202,79 +177,10 @@ class Ui_MainWindow(object):
|
|||||||
self.textBox_survey.setObjectName("textBox_survey")
|
self.textBox_survey.setObjectName("textBox_survey")
|
||||||
self.verticalLayout_2.addWidget(self.textBox_survey)
|
self.verticalLayout_2.addWidget(self.textBox_survey)
|
||||||
self.verticalLayout_5.addLayout(self.verticalLayout_2)
|
self.verticalLayout_5.addLayout(self.verticalLayout_2)
|
||||||
self.line_3 = QtGui.QFrame(self.centralwidget)
|
|
||||||
self.line_3.setMinimumSize(QtCore.QSize(0, 5))
|
|
||||||
self.line_3.setFrameShape(QtGui.QFrame.HLine)
|
|
||||||
self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
|
|
||||||
self.line_3.setObjectName("line_3")
|
|
||||||
self.verticalLayout_5.addWidget(self.line_3)
|
|
||||||
self.verticalLayout_3 = QtGui.QVBoxLayout()
|
self.verticalLayout_3 = QtGui.QVBoxLayout()
|
||||||
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
||||||
self.label_7 = QtGui.QLabel(self.centralwidget)
|
|
||||||
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
|
|
||||||
sizePolicy.setHorizontalStretch(0)
|
|
||||||
sizePolicy.setVerticalStretch(0)
|
|
||||||
sizePolicy.setHeightForWidth(self.label_7.sizePolicy().hasHeightForWidth())
|
|
||||||
self.label_7.setSizePolicy(sizePolicy)
|
|
||||||
font = QtGui.QFont()
|
|
||||||
font.setFamily("Sans Serif")
|
|
||||||
font.setPointSize(10)
|
|
||||||
font.setWeight(75)
|
|
||||||
font.setBold(True)
|
|
||||||
self.label_7.setFont(font)
|
|
||||||
self.label_7.setAlignment(QtCore.Qt.AlignCenter)
|
|
||||||
self.label_7.setObjectName("label_7")
|
|
||||||
self.verticalLayout_3.addWidget(self.label_7)
|
|
||||||
self.picker = QtGui.QPushButton(self.centralwidget)
|
|
||||||
self.picker.setObjectName("picker")
|
|
||||||
self.verticalLayout_3.addWidget(self.picker)
|
|
||||||
self.postprocessing = QtGui.QPushButton(self.centralwidget)
|
|
||||||
self.postprocessing.setObjectName("postprocessing")
|
|
||||||
self.verticalLayout_3.addWidget(self.postprocessing)
|
|
||||||
self.line_2 = QtGui.QFrame(self.centralwidget)
|
|
||||||
self.line_2.setMinimumSize(QtCore.QSize(0, 5))
|
|
||||||
self.line_2.setFrameShape(QtGui.QFrame.HLine)
|
|
||||||
self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
|
|
||||||
self.line_2.setObjectName("line_2")
|
|
||||||
self.verticalLayout_3.addWidget(self.line_2)
|
|
||||||
self.verticalLayout_4 = QtGui.QVBoxLayout()
|
self.verticalLayout_4 = QtGui.QVBoxLayout()
|
||||||
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
||||||
self.label_8 = QtGui.QLabel(self.centralwidget)
|
|
||||||
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
|
|
||||||
sizePolicy.setHorizontalStretch(0)
|
|
||||||
sizePolicy.setVerticalStretch(0)
|
|
||||||
sizePolicy.setHeightForWidth(self.label_8.sizePolicy().hasHeightForWidth())
|
|
||||||
self.label_8.setSizePolicy(sizePolicy)
|
|
||||||
font = QtGui.QFont()
|
|
||||||
font.setFamily("Sans Serif")
|
|
||||||
font.setPointSize(10)
|
|
||||||
font.setWeight(75)
|
|
||||||
font.setBold(True)
|
|
||||||
self.label_8.setFont(font)
|
|
||||||
self.label_8.setAlignment(QtCore.Qt.AlignCenter)
|
|
||||||
self.label_8.setObjectName("label_8")
|
|
||||||
self.verticalLayout_4.addWidget(self.label_8)
|
|
||||||
self.fmtomo = QtGui.QPushButton(self.centralwidget)
|
|
||||||
self.fmtomo.setObjectName("fmtomo")
|
|
||||||
self.verticalLayout_4.addWidget(self.fmtomo)
|
|
||||||
self.label_9 = QtGui.QLabel(self.centralwidget)
|
|
||||||
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
|
|
||||||
sizePolicy.setHorizontalStretch(0)
|
|
||||||
sizePolicy.setVerticalStretch(0)
|
|
||||||
sizePolicy.setHeightForWidth(self.label_9.sizePolicy().hasHeightForWidth())
|
|
||||||
self.label_9.setSizePolicy(sizePolicy)
|
|
||||||
font = QtGui.QFont()
|
|
||||||
font.setFamily("Sans Serif")
|
|
||||||
font.setPointSize(10)
|
|
||||||
font.setWeight(75)
|
|
||||||
font.setBold(True)
|
|
||||||
self.label_9.setFont(font)
|
|
||||||
self.label_9.setAlignment(QtCore.Qt.AlignCenter)
|
|
||||||
self.label_9.setObjectName("label_9")
|
|
||||||
self.verticalLayout_4.addWidget(self.label_9)
|
|
||||||
self.vtk_tools = QtGui.QPushButton(self.centralwidget)
|
|
||||||
self.vtk_tools.setObjectName("vtk_tools")
|
|
||||||
self.verticalLayout_4.addWidget(self.vtk_tools)
|
|
||||||
self.progressBar = QtGui.QProgressBar(self.centralwidget)
|
self.progressBar = QtGui.QProgressBar(self.centralwidget)
|
||||||
self.progressBar.setEnabled(True)
|
self.progressBar.setEnabled(True)
|
||||||
self.progressBar.setProperty("value", 0)
|
self.progressBar.setProperty("value", 0)
|
||||||
@ -369,10 +275,73 @@ class Ui_MainWindow(object):
|
|||||||
self.menubar = QtGui.QMenuBar(MainWindow)
|
self.menubar = QtGui.QMenuBar(MainWindow)
|
||||||
self.menubar.setGeometry(QtCore.QRect(0, 0, 1029, 23))
|
self.menubar.setGeometry(QtCore.QRect(0, 0, 1029, 23))
|
||||||
self.menubar.setObjectName("menubar")
|
self.menubar.setObjectName("menubar")
|
||||||
|
self.menuFile = QtGui.QMenu(self.menubar)
|
||||||
|
self.menuFile.setObjectName("menuFile")
|
||||||
|
self.menuSeismic_Array = QtGui.QMenu(self.menubar)
|
||||||
|
self.menuSeismic_Array.setObjectName("menuSeismic_Array")
|
||||||
|
self.menuSurvey = QtGui.QMenu(self.menubar)
|
||||||
|
self.menuSurvey.setObjectName("menuSurvey")
|
||||||
|
self.menuPicking = QtGui.QMenu(self.menubar)
|
||||||
|
self.menuPicking.setObjectName("menuPicking")
|
||||||
|
self.menuSimulation = QtGui.QMenu(self.menubar)
|
||||||
|
self.menuSimulation.setObjectName("menuSimulation")
|
||||||
|
self.menuTools = QtGui.QMenu(self.menubar)
|
||||||
|
self.menuTools.setObjectName("menuTools")
|
||||||
MainWindow.setMenuBar(self.menubar)
|
MainWindow.setMenuBar(self.menubar)
|
||||||
self.statusbar = QtGui.QStatusBar(MainWindow)
|
self.statusbar = QtGui.QStatusBar(MainWindow)
|
||||||
self.statusbar.setObjectName("statusbar")
|
self.statusbar.setObjectName("statusbar")
|
||||||
MainWindow.setStatusBar(self.statusbar)
|
MainWindow.setStatusBar(self.statusbar)
|
||||||
|
self.actionLoad_Seismic_Array = QtGui.QAction(MainWindow)
|
||||||
|
self.actionLoad_Seismic_Array.setCheckable(False)
|
||||||
|
self.actionLoad_Seismic_Array.setObjectName("actionLoad_Seismic_Array")
|
||||||
|
self.actionSave_Seismic_Array = QtGui.QAction(MainWindow)
|
||||||
|
self.actionSave_Seismic_Array.setObjectName("actionSave_Seismic_Array")
|
||||||
|
self.actionLoad_Survey = QtGui.QAction(MainWindow)
|
||||||
|
self.actionLoad_Survey.setObjectName("actionLoad_Survey")
|
||||||
|
self.actionSave_Survey = QtGui.QAction(MainWindow)
|
||||||
|
self.actionSave_Survey.setObjectName("actionSave_Survey")
|
||||||
|
self.actionExit = QtGui.QAction(MainWindow)
|
||||||
|
self.actionExit.setObjectName("actionExit")
|
||||||
|
self.actionGenerate_new_Seismic_Array = QtGui.QAction(MainWindow)
|
||||||
|
self.actionGenerate_new_Seismic_Array.setObjectName("actionGenerate_new_Seismic_Array")
|
||||||
|
self.actionInterpolate_Receivers = QtGui.QAction(MainWindow)
|
||||||
|
self.actionInterpolate_Receivers.setObjectName("actionInterpolate_Receivers")
|
||||||
|
self.actionConnect_to_Survey = QtGui.QAction(MainWindow)
|
||||||
|
self.actionConnect_to_Survey.setObjectName("actionConnect_to_Survey")
|
||||||
|
self.actionGenerate_new_Survey = QtGui.QAction(MainWindow)
|
||||||
|
self.actionGenerate_new_Survey.setObjectName("actionGenerate_new_Survey")
|
||||||
|
self.actionAutomatic_Picking = QtGui.QAction(MainWindow)
|
||||||
|
self.actionAutomatic_Picking.setObjectName("actionAutomatic_Picking")
|
||||||
|
self.actionPostprocessing = QtGui.QAction(MainWindow)
|
||||||
|
self.actionPostprocessing.setObjectName("actionPostprocessing")
|
||||||
|
self.actionStart_FMTOMO_Simulation = QtGui.QAction(MainWindow)
|
||||||
|
self.actionStart_FMTOMO_Simulation.setObjectName("actionStart_FMTOMO_Simulation")
|
||||||
|
self.actionVTK_Visualization = QtGui.QAction(MainWindow)
|
||||||
|
self.actionVTK_Visualization.setObjectName("actionVTK_Visualization")
|
||||||
|
self.actionSeismic_Array = QtGui.QAction(MainWindow)
|
||||||
|
self.actionSeismic_Array.setEnabled(False)
|
||||||
|
self.actionSeismic_Array.setObjectName("actionSeismic_Array")
|
||||||
|
self.menuFile.addSeparator()
|
||||||
|
self.menuFile.addAction(self.actionExit)
|
||||||
|
self.menuSeismic_Array.addAction(self.actionGenerate_new_Seismic_Array)
|
||||||
|
self.menuSeismic_Array.addAction(self.actionLoad_Seismic_Array)
|
||||||
|
self.menuSeismic_Array.addAction(self.actionSave_Seismic_Array)
|
||||||
|
self.menuSeismic_Array.addSeparator()
|
||||||
|
self.menuSeismic_Array.addAction(self.actionInterpolate_Receivers)
|
||||||
|
self.menuSeismic_Array.addAction(self.actionConnect_to_Survey)
|
||||||
|
self.menuSurvey.addAction(self.actionGenerate_new_Survey)
|
||||||
|
self.menuSurvey.addAction(self.actionLoad_Survey)
|
||||||
|
self.menuSurvey.addAction(self.actionSave_Survey)
|
||||||
|
self.menuPicking.addAction(self.actionAutomatic_Picking)
|
||||||
|
self.menuPicking.addAction(self.actionPostprocessing)
|
||||||
|
self.menuSimulation.addAction(self.actionStart_FMTOMO_Simulation)
|
||||||
|
self.menuTools.addAction(self.actionVTK_Visualization)
|
||||||
|
self.menubar.addAction(self.menuFile.menuAction())
|
||||||
|
self.menubar.addAction(self.menuSurvey.menuAction())
|
||||||
|
self.menubar.addAction(self.menuSeismic_Array.menuAction())
|
||||||
|
self.menubar.addAction(self.menuPicking.menuAction())
|
||||||
|
self.menubar.addAction(self.menuSimulation.menuAction())
|
||||||
|
self.menubar.addAction(self.menuTools.menuAction())
|
||||||
|
|
||||||
self.retranslateUi(MainWindow)
|
self.retranslateUi(MainWindow)
|
||||||
QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
||||||
@ -380,41 +349,34 @@ class Ui_MainWindow(object):
|
|||||||
def retranslateUi(self, MainWindow):
|
def retranslateUi(self, MainWindow):
|
||||||
MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "ActiveSeismoPick 3D", None, QtGui.QApplication.UnicodeUTF8))
|
MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "ActiveSeismoPick 3D", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.label_2.setText(QtGui.QApplication.translate("MainWindow", "Seismic Array", None, QtGui.QApplication.UnicodeUTF8))
|
self.label_2.setText(QtGui.QApplication.translate("MainWindow", "Seismic Array", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.gen_new_seisarray.setToolTip(QtGui.QApplication.translate("MainWindow", "Generate a new Seismic Array object.", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.gen_new_seisarray.setText(QtGui.QApplication.translate("MainWindow", "Create new Seismic Array", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.load_seisarray.setToolTip(QtGui.QApplication.translate("MainWindow", "Load an existing Seismic Array object saved as \'.pickle\' file.", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.load_seisarray.setText(QtGui.QApplication.translate("MainWindow", "Load Seismic Array", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.save_seisarray.setToolTip(QtGui.QApplication.translate("MainWindow", "Save current Seismic Array object to \'.pickle\' file.", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.save_seisarray.setText(QtGui.QApplication.translate("MainWindow", "Save Seismic Array", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.interpolate_receivers.setToolTip(QtGui.QApplication.translate("MainWindow", "Interpolate positions of receivers in between that were not manually measured.", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.interpolate_receivers.setText(QtGui.QApplication.translate("MainWindow", "Interpolate Receivers", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.connect_to_survey.setToolTip(QtGui.QApplication.translate("MainWindow", "Save the current Seismic Array to the current Survey object.", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.connect_to_survey.setText(QtGui.QApplication.translate("MainWindow", "Connect to Survey", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.label_5.setText(QtGui.QApplication.translate("MainWindow", "active", None, QtGui.QApplication.UnicodeUTF8))
|
self.label_5.setText(QtGui.QApplication.translate("MainWindow", "active", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.label_6.setText(QtGui.QApplication.translate("MainWindow", "connected to Survey", None, QtGui.QApplication.UnicodeUTF8))
|
self.label_6.setText(QtGui.QApplication.translate("MainWindow", "connected to Survey", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.label_3.setText(QtGui.QApplication.translate("MainWindow", "Survey", None, QtGui.QApplication.UnicodeUTF8))
|
self.label_3.setText(QtGui.QApplication.translate("MainWindow", "Survey", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.gen_new_survey.setToolTip(QtGui.QApplication.translate("MainWindow", "Generate a new Survey object.", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.gen_new_survey.setText(QtGui.QApplication.translate("MainWindow", "Generate new Survey", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.load_survey.setToolTip(QtGui.QApplication.translate("MainWindow", "Load an existing Survey object from a \'.pickle\' file.", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.load_survey.setText(QtGui.QApplication.translate("MainWindow", "Load Survey", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.save_survey.setToolTip(QtGui.QApplication.translate("MainWindow", "Save current Survey object to \'.pickle\' file.", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.save_survey.setText(QtGui.QApplication.translate("MainWindow", "Save Survey", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.label_4.setText(QtGui.QApplication.translate("MainWindow", "active", None, QtGui.QApplication.UnicodeUTF8))
|
self.label_4.setText(QtGui.QApplication.translate("MainWindow", "active", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.label.setText(QtGui.QApplication.translate("MainWindow", "picked", None, QtGui.QApplication.UnicodeUTF8))
|
self.label.setText(QtGui.QApplication.translate("MainWindow", "picked", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.label_7.setText(QtGui.QApplication.translate("MainWindow", "Picking", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.picker.setToolTip(QtGui.QApplication.translate("MainWindow", "Choose parameters and call automatic picking routines.", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.picker.setText(QtGui.QApplication.translate("MainWindow", "Automatic Picking", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.postprocessing.setToolTip(QtGui.QApplication.translate("MainWindow", "Manual control and postprocessing of a picked Survey.", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.postprocessing.setText(QtGui.QApplication.translate("MainWindow", "Postprocessing", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.label_8.setText(QtGui.QApplication.translate("MainWindow", "Simulation", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.fmtomo.setToolTip(QtGui.QApplication.translate("MainWindow", "Set parameters and call Fast Marching Tomography algorithm.", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.fmtomo.setText(QtGui.QApplication.translate("MainWindow", "FMTOMO Simulation", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.label_9.setText(QtGui.QApplication.translate("MainWindow", "Visualization", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.vtk_tools.setToolTip(QtGui.QApplication.translate("MainWindow", "Set parameters and call Fast Marching Tomography algorithm.", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.vtk_tools.setText(QtGui.QApplication.translate("MainWindow", "VTK tools", None, QtGui.QApplication.UnicodeUTF8))
|
|
||||||
self.label_11.setText(QtGui.QApplication.translate("MainWindow", "Plot Receiver and Shots of the Array colord by:", None, QtGui.QApplication.UnicodeUTF8))
|
self.label_11.setText(QtGui.QApplication.translate("MainWindow", "Plot Receiver and Shots of the Array colord by:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.label_10.setText(QtGui.QApplication.translate("MainWindow", "Plot a single Shot:", None, QtGui.QApplication.UnicodeUTF8))
|
self.label_10.setText(QtGui.QApplication.translate("MainWindow", "Plot a single Shot:", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.shot_left.setText(QtGui.QApplication.translate("MainWindow", "<", None, QtGui.QApplication.UnicodeUTF8))
|
self.shot_left.setText(QtGui.QApplication.translate("MainWindow", "<", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.shot_right.setText(QtGui.QApplication.translate("MainWindow", ">", None, QtGui.QApplication.UnicodeUTF8))
|
self.shot_right.setText(QtGui.QApplication.translate("MainWindow", ">", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.plot_shot.setText(QtGui.QApplication.translate("MainWindow", "Plot", None, QtGui.QApplication.UnicodeUTF8))
|
self.plot_shot.setText(QtGui.QApplication.translate("MainWindow", "Plot", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.menuFile.setTitle(QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.menuSeismic_Array.setTitle(QtGui.QApplication.translate("MainWindow", "Seismic Array", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.menuSurvey.setTitle(QtGui.QApplication.translate("MainWindow", "Survey", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.menuPicking.setTitle(QtGui.QApplication.translate("MainWindow", "Picking", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.menuSimulation.setTitle(QtGui.QApplication.translate("MainWindow", "Simulation", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.menuTools.setTitle(QtGui.QApplication.translate("MainWindow", "Tools", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionLoad_Seismic_Array.setText(QtGui.QApplication.translate("MainWindow", "Load Seismic Array", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionSave_Seismic_Array.setText(QtGui.QApplication.translate("MainWindow", "Save Seismic Array", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionLoad_Survey.setText(QtGui.QApplication.translate("MainWindow", "Load Survey", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionSave_Survey.setText(QtGui.QApplication.translate("MainWindow", "Save Survey", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionExit.setText(QtGui.QApplication.translate("MainWindow", "Exit", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionGenerate_new_Seismic_Array.setText(QtGui.QApplication.translate("MainWindow", "Generate new Seismic Array", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionInterpolate_Receivers.setText(QtGui.QApplication.translate("MainWindow", "Interpolate Receivers", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionConnect_to_Survey.setText(QtGui.QApplication.translate("MainWindow", "Connect to Survey", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionGenerate_new_Survey.setText(QtGui.QApplication.translate("MainWindow", "Generate new Survey", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionAutomatic_Picking.setText(QtGui.QApplication.translate("MainWindow", "Automatic Picking", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionPostprocessing.setText(QtGui.QApplication.translate("MainWindow", "Postprocessing", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionStart_FMTOMO_Simulation.setText(QtGui.QApplication.translate("MainWindow", "Start FMTOMO Simulation", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionVTK_Visualization.setText(QtGui.QApplication.translate("MainWindow", "VTK Visualization", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
self.actionSeismic_Array.setText(QtGui.QApplication.translate("MainWindow", "Seismic Array", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Form implementation generated from reading ui file 'fmtomo_parameters_layout.ui'
|
# Form implementation generated from reading ui file 'fmtomo_parameters_layout.ui'
|
||||||
#
|
#
|
||||||
# Created: Thu Jul 14 13:36:37 2016
|
# Created: Mon Jul 18 11:26:32 2016
|
||||||
# by: pyside-uic 0.2.15 running on PySide 1.2.2
|
# by: pyside-uic 0.2.15 running on PySide 1.2.2
|
||||||
#
|
#
|
||||||
# WARNING! All changes made in this file will be lost!
|
# WARNING! All changes made in this file will be lost!
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Form implementation generated from reading ui file 'generate_seisarray_layout.ui'
|
# Form implementation generated from reading ui file 'generate_seisarray_layout.ui'
|
||||||
#
|
#
|
||||||
# Created: Thu Jul 14 13:36:38 2016
|
# Created: Mon Jul 18 11:26:32 2016
|
||||||
# by: pyside-uic 0.2.15 running on PySide 1.2.2
|
# by: pyside-uic 0.2.15 running on PySide 1.2.2
|
||||||
#
|
#
|
||||||
# WARNING! All changes made in this file will be lost!
|
# WARNING! All changes made in this file will be lost!
|
||||||
@ -138,7 +138,7 @@ class Ui_generate_seisarray(object):
|
|||||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Third geophone on the second receiver line with the trace ID 50 and the coordinates (10.5 [m], 20.4 [m], 30.3 [m]).</p>\n"
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Third geophone on the second receiver line with the trace ID 50 and the coordinates (10.5 [m], 20.4 [m], 30.3 [m]).</p>\n"
|
||||||
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
|
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
|
||||||
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">50 2 3 10.5 20.4 30.3</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
|
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">50 2 3 10.5 20.4 30.3</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.radioButton_interpolatable.setText(QtGui.QApplication.translate("generate_seisarray", "interpolatable [?]", None, QtGui.QApplication.UnicodeUTF8))
|
self.radioButton_interpolatable.setText(QtGui.QApplication.translate("generate_seisarray", "interpolation [?]", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.pushButton_rec.setText(QtGui.QApplication.translate("generate_seisarray", "Browse", None, QtGui.QApplication.UnicodeUTF8))
|
self.pushButton_rec.setText(QtGui.QApplication.translate("generate_seisarray", "Browse", None, QtGui.QApplication.UnicodeUTF8))
|
||||||
self.label_src.setToolTip(QtGui.QApplication.translate("generate_seisarray", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
self.label_src.setToolTip(QtGui.QApplication.translate("generate_seisarray", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
||||||
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Form implementation generated from reading ui file 'generate_survey_layout.ui'
|
# Form implementation generated from reading ui file 'generate_survey_layout.ui'
|
||||||
#
|
#
|
||||||
# Created: Thu Jul 14 13:36:38 2016
|
# Created: Mon Jul 18 11:26:32 2016
|
||||||
# by: pyside-uic 0.2.15 running on PySide 1.2.2
|
# by: pyside-uic 0.2.15 running on PySide 1.2.2
|
||||||
#
|
#
|
||||||
# WARNING! All changes made in this file will be lost!
|
# WARNING! All changes made in this file will be lost!
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Form implementation generated from reading ui file 'generate_survey_layout_minimal.ui'
|
# Form implementation generated from reading ui file 'generate_survey_layout_minimal.ui'
|
||||||
#
|
#
|
||||||
# Created: Thu Jul 14 13:36:38 2016
|
# Created: Mon Jul 18 11:26:33 2016
|
||||||
# by: pyside-uic 0.2.15 running on PySide 1.2.2
|
# by: pyside-uic 0.2.15 running on PySide 1.2.2
|
||||||
#
|
#
|
||||||
# WARNING! All changes made in this file will be lost!
|
# WARNING! All changes made in this file will be lost!
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Form implementation generated from reading ui file 'picking_parameters_layout.ui'
|
# Form implementation generated from reading ui file 'picking_parameters_layout.ui'
|
||||||
#
|
#
|
||||||
# Created: Thu Jul 14 13:36:38 2016
|
# Created: Mon Jul 18 11:26:33 2016
|
||||||
# by: pyside-uic 0.2.15 running on PySide 1.2.2
|
# by: pyside-uic 0.2.15 running on PySide 1.2.2
|
||||||
#
|
#
|
||||||
# WARNING! All changes made in this file will be lost!
|
# WARNING! All changes made in this file will be lost!
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Form implementation generated from reading ui file 'vtk_tools_layout.ui'
|
# Form implementation generated from reading ui file 'vtk_tools_layout.ui'
|
||||||
#
|
#
|
||||||
# Created: Thu Jul 14 13:36:38 2016
|
# Created: Mon Jul 18 11:26:33 2016
|
||||||
# by: pyside-uic 0.2.15 running on PySide 1.2.2
|
# by: pyside-uic 0.2.15 running on PySide 1.2.2
|
||||||
#
|
#
|
||||||
# WARNING! All changes made in this file will be lost!
|
# WARNING! All changes made in this file will be lost!
|
||||||
|
Loading…
Reference in New Issue
Block a user