예제 #1
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(988, 525)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.timecourse_graphicsView = GraphicsLayoutWidget(self.centralwidget)
        self.timecourse_graphicsView.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding,
            QtWidgets.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.timecourse_graphicsView.sizePolicy().hasHeightForWidth())
        self.timecourse_graphicsView.setSizePolicy(sizePolicy)
        self.timecourse_graphicsView.setMinimumSize(QtCore.QSize(610, 100))
        self.timecourse_graphicsView.setMaximumSize(QtCore.QSize(3000, 1000))
        self.timecourse_graphicsView.setSizeIncrement(QtCore.QSize(1, 1))
        self.timecourse_graphicsView.setObjectName("timecourse_graphicsView")
        self.gridLayout.addWidget(self.timecourse_graphicsView, 0, 0, 1, 1)
        self.spectrum_graphicsView = GraphicsLayoutWidget(self.centralwidget)
        self.spectrum_graphicsView.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding,
            QtWidgets.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.spectrum_graphicsView.sizePolicy().hasHeightForWidth())
        self.spectrum_graphicsView.setSizePolicy(sizePolicy)
        self.spectrum_graphicsView.setMinimumSize(QtCore.QSize(610, 100))
        self.spectrum_graphicsView.setMaximumSize(QtCore.QSize(3000, 1000))
        self.spectrum_graphicsView.setSizeIncrement(QtCore.QSize(1, 1))
        self.spectrum_graphicsView.setObjectName("spectrum_graphicsView")
        self.gridLayout.addWidget(self.spectrum_graphicsView, 1, 0, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 988, 22))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1746, 839)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName("gridLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setSizeConstraint(
            QtWidgets.QLayout.SetNoConstraint)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.image_graphicsView = GraphicsLayoutWidget(self.centralwidget)
        self.image_graphicsView.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.image_graphicsView.sizePolicy().hasHeightForWidth())
        self.image_graphicsView.setSizePolicy(sizePolicy)
        self.image_graphicsView.setMinimumSize(QtCore.QSize(600, 100))
        self.image_graphicsView.setMaximumSize(QtCore.QSize(2000, 1200))
        self.image_graphicsView.setSizeIncrement(QtCore.QSize(1, 1))
        self.image_graphicsView.setObjectName("image_graphicsView")
        self.horizontalLayout.addWidget(self.image_graphicsView)
        self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1746, 24))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.label.setText(
            _translate(
                "MainWindow",
                'Right and left arrows step through components. Up and down arrows toggle component retention.  "r" to reset component.  "a", "c", and "s" select axial, coronal, or sagittal views.  ESC to write component file.',
            ))
예제 #3
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(1472, 964)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.gridLayout_10 = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10"))
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.widget_2 = QtGui.QWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(
            self.widget_2.sizePolicy().hasHeightForWidth())
        self.widget_2.setSizePolicy(sizePolicy)
        self.widget_2.setMinimumSize(QtCore.QSize(0, 845))
        self.widget_2.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.widget_2.setObjectName(_fromUtf8("widget_2"))
        self.gridLayout_12 = QtGui.QGridLayout(self.widget_2)
        self.gridLayout_12.setSizeConstraint(QtGui.QLayout.SetFixedSize)
        self.gridLayout_12.setObjectName(_fromUtf8("gridLayout_12"))
        self.groupBox = QtGui.QGroupBox(self.widget_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setMinimumSize(QtCore.QSize(300, 0))
        self.groupBox.setMaximumSize(QtCore.QSize(300, 461))
        self.groupBox.setFlat(False)
        self.groupBox.setCheckable(False)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.ExperimentTabWidget = QtGui.QTabWidget(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.ExperimentTabWidget.sizePolicy().hasHeightForWidth())
        self.ExperimentTabWidget.setSizePolicy(sizePolicy)
        self.ExperimentTabWidget.setObjectName(
            _fromUtf8("ExperimentTabWidget"))
        self.SSX = QtGui.QWidget()
        self.SSX.setObjectName(_fromUtf8("SSX"))
        self.gridLayout = QtGui.QGridLayout(self.SSX)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(self.SSX)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.RootSSX = QtGui.QLineEdit(self.SSX)
        self.RootSSX.setObjectName(_fromUtf8("RootSSX"))
        self.gridLayout.addWidget(self.RootSSX, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(self.SSX)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.FileExtensionSSX = QtGui.QLineEdit(self.SSX)
        self.FileExtensionSSX.setObjectName(_fromUtf8("FileExtensionSSX"))
        self.gridLayout.addWidget(self.FileExtensionSSX, 1, 1, 1, 1)
        self.ExperimentTabWidget.addTab(self.SSX, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.ExperimentTabWidget)
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.DataPathBut = QtGui.QPushButton(self.groupBox)
        self.DataPathBut.setObjectName(_fromUtf8("DataPathBut"))
        self.gridLayout_2.addWidget(self.DataPathBut, 0, 0, 1, 1)
        self.DataPath = QtGui.QLineEdit(self.groupBox)
        self.DataPath.setObjectName(_fromUtf8("DataPath"))
        self.gridLayout_2.addWidget(self.DataPath, 0, 1, 1, 1)
        self.ResPathBut = QtGui.QPushButton(self.groupBox)
        self.ResPathBut.setObjectName(_fromUtf8("ResPathBut"))
        self.gridLayout_2.addWidget(self.ResPathBut, 1, 0, 1, 1)
        self.ResultsPath = QtGui.QLineEdit(self.groupBox)
        self.ResultsPath.setText(_fromUtf8(""))
        self.ResultsPath.setObjectName(_fromUtf8("ResultsPath"))
        self.gridLayout_2.addWidget(self.ResultsPath, 1, 1, 1, 1)
        self.DarkPathBut = QtGui.QPushButton(self.groupBox)
        self.DarkPathBut.setObjectName(_fromUtf8("DarkPathBut"))
        self.gridLayout_2.addWidget(self.DarkPathBut, 2, 0, 1, 1)
        self.DarkPath = QtGui.QLineEdit(self.groupBox)
        self.DarkPath.setObjectName(_fromUtf8("DarkPath"))
        self.gridLayout_2.addWidget(self.DarkPath, 2, 1, 1, 1)
        self.MaskPathBut = QtGui.QPushButton(self.groupBox)
        self.MaskPathBut.setObjectName(_fromUtf8("MaskPathBut"))
        self.gridLayout_2.addWidget(self.MaskPathBut, 3, 0, 1, 1)
        self.MaskPath = QtGui.QLineEdit(self.groupBox)
        self.MaskPath.setObjectName(_fromUtf8("MaskPath"))
        self.gridLayout_2.addWidget(self.MaskPath, 3, 1, 1, 1)
        self.label_8 = QtGui.QLabel(self.groupBox)
        self.label_8.setAlignment(QtCore.Qt.AlignCenter)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout_2.addWidget(self.label_8, 4, 0, 1, 1)
        self.cpus = QtGui.QLineEdit(self.groupBox)
        self.cpus.setObjectName(_fromUtf8("cpus"))
        self.gridLayout_2.addWidget(self.cpus, 4, 1, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout_2)
        self.line_2 = QtGui.QFrame(self.groupBox)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.verticalLayout_2.addWidget(self.line_2)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label_18 = QtGui.QLabel(self.groupBox)
        self.label_18.setAlignment(QtCore.Qt.AlignBottom
                                   | QtCore.Qt.AlignHCenter)
        self.label_18.setObjectName(_fromUtf8("label_18"))
        self.verticalLayout.addWidget(self.label_18)
        self.line = QtGui.QFrame(self.groupBox)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.verticalLayout.addWidget(self.line)
        self.hdf5out = QtGui.QCheckBox(self.groupBox)
        self.hdf5out.setObjectName(_fromUtf8("hdf5out"))
        self.verticalLayout.addWidget(self.hdf5out)
        self.cctbxout = QtGui.QCheckBox(self.groupBox)
        self.cctbxout.setObjectName(_fromUtf8("cctbxout"))
        self.verticalLayout.addWidget(self.cctbxout)
        self.cbfout = QtGui.QCheckBox(self.groupBox)
        self.cbfout.setObjectName(_fromUtf8("cbfout"))
        self.verticalLayout.addWidget(self.cbfout)
        self.verticalLayout_2.addLayout(self.verticalLayout)
        self.verticalLayout_2.setStretch(0, 1)
        self.verticalLayout_2.setStretch(1, 1)
        self.verticalLayout_2.setStretch(2, 1)
        self.verticalLayout_2.setStretch(3, 1)
        self.gridLayout_12.addWidget(self.groupBox, 0, 0, 1, 1)
        self.groupBox_2 = QtGui.QGroupBox(self.widget_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setMinimumSize(QtCore.QSize(300, 0))
        self.groupBox_2.setMaximumSize(QtCore.QSize(300, 16777215))
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.label_4 = QtGui.QLabel(self.groupBox_2)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_3.addWidget(self.label_4, 1, 0, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox_2)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_3.addWidget(self.label_3, 0, 0, 1, 1)
        self.Threshold = QtGui.QLineEdit(self.groupBox_2)
        self.Threshold.setObjectName(_fromUtf8("Threshold"))
        self.gridLayout_3.addWidget(self.Threshold, 0, 1, 1, 1)
        self.Npixels = QtGui.QLineEdit(self.groupBox_2)
        self.Npixels.setObjectName(_fromUtf8("Npixels"))
        self.gridLayout_3.addWidget(self.Npixels, 1, 1, 1, 1)
        self.BraggThreshold = QtGui.QLineEdit(self.groupBox_2)
        self.BraggThreshold.setObjectName(_fromUtf8("BraggThreshold"))
        self.gridLayout_3.addWidget(self.BraggThreshold, 3, 1, 1, 1)
        self.label_6 = QtGui.QLabel(self.groupBox_2)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_3.addWidget(self.label_6, 3, 0, 1, 1)
        self.FindBragg = QtGui.QComboBox(self.groupBox_2)
        self.FindBragg.setObjectName(_fromUtf8("FindBragg"))
        self.FindBragg.addItem(_fromUtf8(""))
        self.FindBragg.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.FindBragg, 2, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.groupBox_2)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_3.addWidget(self.label_5, 2, 0, 1, 1)
        self.verticalLayout_4.addLayout(self.gridLayout_3)
        self.gridLayout_12.addWidget(self.groupBox_2, 1, 0, 1, 1)
        self.groupBox_3 = QtGui.QGroupBox(self.widget_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.groupBox_3.sizePolicy().hasHeightForWidth())
        self.groupBox_3.setSizePolicy(sizePolicy)
        self.groupBox_3.setMinimumSize(QtCore.QSize(300, 0))
        self.groupBox_3.setMaximumSize(QtCore.QSize(300, 16777215))
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.gridLayout_6 = QtGui.QGridLayout()
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.label_13 = QtGui.QLabel(self.groupBox_3)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.gridLayout_6.addWidget(self.label_13, 0, 0, 1, 1)
        self.Detector = QtGui.QComboBox(self.groupBox_3)
        self.Detector.setObjectName(_fromUtf8("Detector"))
        self.Detector.addItem(_fromUtf8(""))
        self.Detector.addItem(_fromUtf8(""))
        self.Detector.addItem(_fromUtf8(""))
        self.Detector.addItem(_fromUtf8(""))
        self.Detector.addItem(_fromUtf8(""))
        self.Detector.addItem(_fromUtf8(""))
        self.Detector.addItem(_fromUtf8(""))
        self.gridLayout_6.addWidget(self.Detector, 0, 1, 1, 1)
        self.label_14 = QtGui.QLabel(self.groupBox_3)
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.gridLayout_6.addWidget(self.label_14, 1, 0, 1, 1)
        self.Wavelength = QtGui.QLineEdit(self.groupBox_3)
        self.Wavelength.setObjectName(_fromUtf8("Wavelength"))
        self.gridLayout_6.addWidget(self.Wavelength, 1, 1, 1, 1)
        self.label_15 = QtGui.QLabel(self.groupBox_3)
        self.label_15.setObjectName(_fromUtf8("label_15"))
        self.gridLayout_6.addWidget(self.label_15, 2, 0, 1, 1)
        self.distance = QtGui.QLineEdit(self.groupBox_3)
        self.distance.setObjectName(_fromUtf8("distance"))
        self.gridLayout_6.addWidget(self.distance, 2, 1, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_16 = QtGui.QLabel(self.groupBox_3)
        self.label_16.setObjectName(_fromUtf8("label_16"))
        self.horizontalLayout.addWidget(self.label_16)
        self.beamX = QtGui.QLineEdit(self.groupBox_3)
        self.beamX.setObjectName(_fromUtf8("beamX"))
        self.horizontalLayout.addWidget(self.beamX)
        self.label_17 = QtGui.QLabel(self.groupBox_3)
        self.label_17.setObjectName(_fromUtf8("label_17"))
        self.horizontalLayout.addWidget(self.label_17)
        self.beamY = QtGui.QLineEdit(self.groupBox_3)
        self.beamY.setText(_fromUtf8(""))
        self.beamY.setObjectName(_fromUtf8("beamY"))
        self.horizontalLayout.addWidget(self.beamY)
        self.gridLayout_6.addLayout(self.horizontalLayout, 3, 0, 1, 2)
        self.verticalLayout_5.addLayout(self.gridLayout_6)
        self.widget = QtGui.QWidget(self.groupBox_3)
        self.widget.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setMinimumSize(QtCore.QSize(300, 0))
        self.widget.setObjectName(_fromUtf8("widget"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.widget)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.PlayButton_2 = QtGui.QPushButton(self.widget)
        self.PlayButton_2.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.PlayButton_2.sizePolicy().hasHeightForWidth())
        self.PlayButton_2.setSizePolicy(sizePolicy)
        self.PlayButton_2.setMinimumSize(QtCore.QSize(100, 32))
        self.PlayButton_2.setMaximumSize(QtCore.QSize(100, 32))
        self.PlayButton_2.setObjectName(_fromUtf8("PlayButton_2"))
        self.horizontalLayout_2.addWidget(self.PlayButton_2)
        self.FindBraggsButton = QtGui.QPushButton(self.widget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.FindBraggsButton.sizePolicy().hasHeightForWidth())
        self.FindBraggsButton.setSizePolicy(sizePolicy)
        self.FindBraggsButton.setMinimumSize(QtCore.QSize(100, 32))
        self.FindBraggsButton.setMaximumSize(QtCore.QSize(100, 32))
        self.FindBraggsButton.setObjectName(_fromUtf8("FindBraggsButton"))
        self.horizontalLayout_2.addWidget(self.FindBraggsButton)
        self.FindBraggsButton.raise_()
        self.PlayButton_2.raise_()
        self.verticalLayout_5.addWidget(self.widget)
        self.gridLayout_12.addWidget(self.groupBox_3, 2, 0, 1, 1)
        self.horizontalLayout_8.addWidget(self.widget_2)
        self.graphicsView = GraphicsLayoutWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(
            self.graphicsView.sizePolicy().hasHeightForWidth())
        self.graphicsView.setSizePolicy(sizePolicy)
        self.graphicsView.setMinimumSize(QtCore.QSize(800, 800))
        self.graphicsView.setSizeIncrement(QtCore.QSize(1, 1))
        self.graphicsView.setAcceptDrops(False)
        self.graphicsView.setObjectName(_fromUtf8("graphicsView"))
        self.horizontalLayout_8.addWidget(self.graphicsView)
        self.verticalLayout_8 = QtGui.QVBoxLayout()
        self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8"))
        self.groupBox_4 = QtGui.QGroupBox(self.centralwidget)
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout(self.groupBox_4)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.Boost = QtGui.QLineEdit(self.groupBox_4)
        self.Boost.setObjectName(_fromUtf8("Boost"))
        self.gridLayout_4.addWidget(self.Boost, 0, 1, 1, 1)
        self.ColorMap = QtGui.QComboBox(self.groupBox_4)
        self.ColorMap.setObjectName(_fromUtf8("ColorMap"))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.ColorMap, 3, 1, 1, 1)
        self.Min = QtGui.QLineEdit(self.groupBox_4)
        self.Min.setObjectName(_fromUtf8("Min"))
        self.gridLayout_4.addWidget(self.Min, 1, 1, 1, 1)
        self.label_9 = QtGui.QLabel(self.groupBox_4)
        self.label_9.setAlignment(QtCore.Qt.AlignCenter)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridLayout_4.addWidget(self.label_9, 2, 0, 1, 1)
        self.label_11 = QtGui.QLabel(self.groupBox_4)
        self.label_11.setAlignment(QtCore.Qt.AlignCenter)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.gridLayout_4.addWidget(self.label_11, 1, 0, 1, 1)
        self.label_12 = QtGui.QLabel(self.groupBox_4)
        self.label_12.setAlignment(QtCore.Qt.AlignCenter)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.gridLayout_4.addWidget(self.label_12, 3, 0, 1, 1)
        self.Max = QtGui.QLineEdit(self.groupBox_4)
        self.Max.setObjectName(_fromUtf8("Max"))
        self.gridLayout_4.addWidget(self.Max, 2, 1, 1, 1)
        self.label_10 = QtGui.QLabel(self.groupBox_4)
        self.label_10.setAlignment(QtCore.Qt.AlignCenter)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.gridLayout_4.addWidget(self.label_10, 0, 0, 1, 1)
        self.horizontalLayout_6.addLayout(self.gridLayout_4)
        self.verticalLayout_8.addWidget(self.groupBox_4)
        self.groupBox_5 = QtGui.QGroupBox(self.centralwidget)
        self.groupBox_5.setMinimumSize(QtCore.QSize(300, 0))
        self.groupBox_5.setMaximumSize(QtCore.QSize(300, 16777215))
        self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.groupBox_5)
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.treeWidget = TestListView(self.groupBox_5)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(
            self.treeWidget.sizePolicy().hasHeightForWidth())
        self.treeWidget.setSizePolicy(sizePolicy)
        self.treeWidget.setMinimumSize(QtCore.QSize(274, 587))
        self.treeWidget.setMaximumSize(QtCore.QSize(274, 16777215))
        self.treeWidget.setAcceptDrops(True)
        self.treeWidget.setDragDropMode(QtGui.QAbstractItemView.DragDrop)
        self.treeWidget.setDefaultDropAction(QtCore.Qt.CopyAction)
        self.treeWidget.setAlternatingRowColors(False)
        self.treeWidget.setIndentation(20)
        self.treeWidget.setUniformRowHeights(True)
        self.treeWidget.setObjectName(_fromUtf8("treeWidget"))
        self.verticalLayout_7.addWidget(self.treeWidget)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.LoadResultsBut = QtGui.QPushButton(self.groupBox_5)
        self.LoadResultsBut.setObjectName(_fromUtf8("LoadResultsBut"))
        self.horizontalLayout_7.addWidget(self.LoadResultsBut)
        self.PlayButton = QtGui.QPushButton(self.groupBox_5)
        self.PlayButton.setObjectName(_fromUtf8("PlayButton"))
        self.horizontalLayout_7.addWidget(self.PlayButton)
        self.StopButton = QtGui.QPushButton(self.groupBox_5)
        self.StopButton.setObjectName(_fromUtf8("StopButton"))
        self.horizontalLayout_7.addWidget(self.StopButton)
        self.verticalLayout_7.addLayout(self.horizontalLayout_7)
        self.verticalLayout_8.addWidget(self.groupBox_5)
        self.horizontalLayout_8.addLayout(self.verticalLayout_8)
        self.gridLayout_10.addLayout(self.horizontalLayout_8, 0, 0, 1, 1)
        self.Log = QtGui.QPlainTextEdit(self.centralwidget)
        self.Log.setMaximumSize(QtCore.QSize(1500, 40))
        self.Log.setObjectName(_fromUtf8("Log"))
        self.gridLayout_10.addWidget(self.Log, 1, 0, 1, 1)
        self.Log.raise_()
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1472, 22))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        self.menuEdit = QtGui.QMenu(self.menubar)
        self.menuEdit.setObjectName(_fromUtf8("menuEdit"))
        self.menuOptions = QtGui.QMenu(self.menubar)
        self.menuOptions.setObjectName(_fromUtf8("menuOptions"))
        self.menuBragg_Peaks_Form = QtGui.QMenu(self.menuOptions)
        self.menuBragg_Peaks_Form.setObjectName(
            _fromUtf8("menuBragg_Peaks_Form"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.actionLoad_Images = QtGui.QAction(MainWindow)
        self.actionLoad_Images.setObjectName(_fromUtf8("actionLoad_Images"))
        self.actionLoad_Geometry = QtGui.QAction(MainWindow)
        self.actionLoad_Geometry.setObjectName(
            _fromUtf8("actionLoad_Geometry"))
        self.actionClose = QtGui.QAction(MainWindow)
        self.actionClose.setObjectName(_fromUtf8("actionClose"))
        self.actionShow_Beam_Center = QtGui.QAction(MainWindow)
        self.actionShow_Beam_Center.setObjectName(
            _fromUtf8("actionShow_Beam_Center"))
        self.actionShow_resolution_rings = QtGui.QAction(MainWindow)
        self.actionShow_resolution_rings.setObjectName(
            _fromUtf8("actionShow_resolution_rings"))
        self.actionShow_Bragg_Peaks = QtGui.QAction(MainWindow)
        self.actionShow_Bragg_Peaks.setObjectName(
            _fromUtf8("actionShow_Bragg_Peaks"))
        self.actionBragg_Peaks_Size = QtGui.QAction(MainWindow)
        self.actionBragg_Peaks_Size.setObjectName(
            _fromUtf8("actionBragg_Peaks_Size"))
        self.actionRings = QtGui.QAction(MainWindow)
        self.actionRings.setObjectName(_fromUtf8("actionRings"))
        self.actionSquare = QtGui.QAction(MainWindow)
        self.actionSquare.setObjectName(_fromUtf8("actionSquare"))
        self.menuFile.addAction(self.actionLoad_Images)
        self.menuFile.addAction(self.actionLoad_Geometry)
        self.menuFile.addAction(self.actionClose)
        self.menuBragg_Peaks_Form.addAction(self.actionRings)
        self.menuBragg_Peaks_Form.addAction(self.actionSquare)
        self.menuOptions.addAction(self.actionShow_Beam_Center)
        self.menuOptions.addAction(self.actionShow_resolution_rings)
        self.menuOptions.addAction(self.actionShow_Bragg_Peaks)
        self.menuOptions.addAction(self.actionBragg_Peaks_Size)
        self.menuOptions.addAction(self.menuBragg_Peaks_Form.menuAction())
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuEdit.menuAction())
        self.menubar.addAction(self.menuOptions.menuAction())

        self.retranslateUi(MainWindow)
        self.ExperimentTabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
        self.groupBox.setTitle(
            _translate("MainWindow", "General Parameters", None))
        self.label.setText(_translate("MainWindow", "Filename root", None))
        self.label_2.setText(_translate("MainWindow", "File extension", None))
        self.ExperimentTabWidget.setTabText(
            self.ExperimentTabWidget.indexOf(self.SSX),
            _translate("MainWindow", "SSX", None))
        self.DataPathBut.setText(_translate("MainWindow", "Data", None))
        self.ResPathBut.setText(_translate("MainWindow", "Results", None))
        self.DarkPathBut.setText(_translate("MainWindow", "Dark", None))
        self.MaskPathBut.setText(_translate("MainWindow", "Mask", None))
        self.label_8.setText(_translate("MainWindow", "# Cpus", None))
        self.label_18.setText(_translate("MainWindow", "Output Formats", None))
        self.hdf5out.setText(
            _translate("MainWindow", "h5 crystFEL format", None))
        self.cctbxout.setText(
            _translate("MainWindow", "cctbx.xfel pickle format", None))
        self.cbfout.setText(_translate("MainWindow", "nXDS cbf format", None))
        self.groupBox_2.setTitle(
            _translate("MainWindow", "HitFinder Parameters", None))
        self.label_4.setText(
            _translate("MainWindow", "Min Number of pixels", None))
        self.label_3.setText(_translate("MainWindow", "Threshold", None))
        self.label_6.setText(_translate("MainWindow", "Bragg Threshold", None))
        self.FindBragg.setItemText(0, _translate("MainWindow", "True", None))
        self.FindBragg.setItemText(1, _translate("MainWindow", "False", None))
        self.label_5.setText(_translate("MainWindow", "Find Bragg Peaks",
                                        None))
        self.groupBox_3.setTitle(
            _translate("MainWindow", "Experimental Parameters", None))
        self.label_13.setText(_translate("MainWindow", "Detector", None))
        self.Detector.setItemText(0, _translate("MainWindow", "Pilatus1M",
                                                None))
        self.Detector.setItemText(1, _translate("MainWindow", "Pilatus2M",
                                                None))
        self.Detector.setItemText(2, _translate("MainWindow", "Pilatus6M",
                                                None))
        self.Detector.setItemText(3, _translate("MainWindow", "EIger1M", None))
        self.Detector.setItemText(4, _translate("MainWindow", "Eiger4M", None))
        self.Detector.setItemText(5, _translate("MainWindow", "MPCCD", None))
        self.Detector.setItemText(6, _translate("MainWindow", "CSPAD", None))
        self.label_14.setText(_translate("MainWindow", "Wavelength (A)", None))
        self.label_15.setText(
            _translate("MainWindow", "Detector distance (mm)", None))
        self.label_16.setText(_translate("MainWindow", "Beam Center X", None))
        self.label_17.setText(_translate("MainWindow", "Y", None))
        self.PlayButton_2.setText(_translate("MainWindow", "Find Hits", None))
        self.FindBraggsButton.setText(
            _translate("MainWindow", "Find Braggs", None))
        self.groupBox_4.setTitle(
            _translate("MainWindow", "Viewer Settings", None))
        self.Boost.setText(_translate("MainWindow", "1", None))
        self.ColorMap.setItemText(0, _translate("MainWindow", "Hot", None))
        self.ColorMap.setItemText(1, _translate("MainWindow", "Gray", None))
        self.ColorMap.setItemText(2, _translate("MainWindow", "Gray_r", None))
        self.ColorMap.setItemText(3, _translate("MainWindow", "YGB_r", None))
        self.ColorMap.setItemText(4, _translate("MainWindow", "Blues", None))
        self.ColorMap.setItemText(5, _translate("MainWindow", "Blues_r", None))
        self.ColorMap.setItemText(6, _translate("MainWindow", "Reds", None))
        self.ColorMap.setItemText(7, _translate("MainWindow", "Reds_r", None))
        self.ColorMap.setItemText(8, _translate("MainWindow", "Jet", None))
        self.ColorMap.setItemText(9, _translate("MainWindow", "Spectral",
                                                None))
        self.ColorMap.setItemText(10,
                                  _translate("MainWindow", "Spectral_r", None))
        self.Min.setText(_translate("MainWindow", "0", None))
        self.label_9.setText(_translate("MainWindow", "Max Value", None))
        self.label_11.setText(_translate("MainWindow", "Min Value", None))
        self.label_12.setText(_translate("MainWindow", "Color maps", None))
        self.Max.setText(_translate("MainWindow", "10", None))
        self.label_10.setText(_translate("MainWindow", "Intensity Boost",
                                         None))
        self.groupBox_5.setTitle(_translate("MainWindow", "Results", None))
        self.treeWidget.headerItem().setText(
            0, _translate("MainWindow", "Filename", None))
        self.treeWidget.headerItem().setText(
            1, _translate("MainWindow", "# Frames", None))
        self.LoadResultsBut.setText(
            _translate("MainWindow", "Load Images...", None))
        self.PlayButton.setText(_translate("MainWindow", "Play", None))
        self.StopButton.setText(_translate("MainWindow", "Stop", None))
        self.menuFile.setTitle(_translate("MainWindow", "File", None))
        self.menuEdit.setTitle(_translate("MainWindow", "Edit", None))
        self.menuOptions.setTitle(_translate("MainWindow", "Options", None))
        self.menuBragg_Peaks_Form.setTitle(
            _translate("MainWindow", "Bragg Peaks Form", None))
        self.actionLoad_Images.setText(
            _translate("MainWindow", "Load Images", None))
        self.actionLoad_Geometry.setText(
            _translate("MainWindow", "Load geometry", None))
        self.actionClose.setText(_translate("MainWindow", "Close", None))
        self.actionShow_Beam_Center.setText(
            _translate("MainWindow", "Show Beam Center", None))
        self.actionShow_resolution_rings.setText(
            _translate("MainWindow", "Show resolution rings", None))
        self.actionShow_Bragg_Peaks.setText(
            _translate("MainWindow", "Show Bragg Peaks", None))
        self.actionBragg_Peaks_Size.setText(
            _translate("MainWindow", "Bragg Peaks Size", None))
        self.actionRings.setText(_translate("MainWindow", "Rings", None))
        self.actionSquare.setText(_translate("MainWindow", "Square", None))
예제 #4
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1118, 728)
        MainWindow.setMinimumSize(QtCore.QSize(256, 256))
        MainWindow.setMaximumSize(QtCore.QSize(1118, 16777215))
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.histogram_groupBox_2 = QtWidgets.QGroupBox(self.centralwidget)
        self.histogram_groupBox_2.setGeometry(QtCore.QRect(440, 520, 671, 171))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.histogram_groupBox_2.sizePolicy().hasHeightForWidth())
        self.histogram_groupBox_2.setSizePolicy(sizePolicy)
        self.histogram_groupBox_2.setMinimumSize(QtCore.QSize(100, 100))
        self.histogram_groupBox_2.setMaximumSize(QtCore.QSize(700, 283))
        self.histogram_groupBox_2.setObjectName("histogram_groupBox_2")
        self.logOutput = QtWidgets.QTextEdit(self.histogram_groupBox_2)
        self.logOutput.setGeometry(QtCore.QRect(10, 30, 651, 131))
        font = QtGui.QFont()
        font.setFamily("Courier")
        self.logOutput.setFont(font)
        self.logOutput.setObjectName("logOutput")
        self.imageData_groupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.imageData_groupBox.setGeometry(QtCore.QRect(10, 0, 1100, 312))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.imageData_groupBox.sizePolicy().hasHeightForWidth())
        self.imageData_groupBox.setSizePolicy(sizePolicy)
        self.imageData_groupBox.setMinimumSize(QtCore.QSize(1100, 100))
        self.imageData_groupBox.setMaximumSize(QtCore.QSize(1100, 312))
        self.imageData_groupBox.setObjectName("imageData_groupBox")
        self.label = QtWidgets.QLabel(self.imageData_groupBox)
        self.label.setGeometry(QtCore.QRect(10, 520, 521, 16))
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.layoutWidget = QtWidgets.QWidget(self.imageData_groupBox)
        self.layoutWidget.setGeometry(QtCore.QRect(10, 20, 1091, 291))
        self.layoutWidget.setObjectName("layoutWidget")
        self.largeimage_horizontalLayout = QtWidgets.QHBoxLayout(self.layoutWidget)
        self.largeimage_horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetMinAndMaxSize)
        self.largeimage_horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.largeimage_horizontalLayout.setObjectName("largeimage_horizontalLayout")
        self.main_graphicsView = GraphicsLayoutWidget(self.layoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.main_graphicsView.sizePolicy().hasHeightForWidth())
        self.main_graphicsView.setSizePolicy(sizePolicy)
        self.main_graphicsView.setMinimumSize(QtCore.QSize(778, 256))
        self.main_graphicsView.setMaximumSize(QtCore.QSize(778, 256))
        self.main_graphicsView.setSizeIncrement(QtCore.QSize(1, 1))
        self.main_graphicsView.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.main_graphicsView.setAlignment(QtCore.Qt.AlignCenter)
        self.main_graphicsView.setObjectName("main_graphicsView")
        self.largeimage_horizontalLayout.addWidget(self.main_graphicsView)
        self.graphicsView_colorbar = GraphicsView(self.layoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.graphicsView_colorbar.sizePolicy().hasHeightForWidth())
        self.graphicsView_colorbar.setSizePolicy(sizePolicy)
        self.graphicsView_colorbar.setMinimumSize(QtCore.QSize(30, 128))
        self.graphicsView_colorbar.setMaximumSize(QtCore.QSize(25, 256))
        self.graphicsView_colorbar.setSizeIncrement(QtCore.QSize(1, 1))
        self.graphicsView_colorbar.setObjectName("graphicsView_colorbar")
        self.largeimage_horizontalLayout.addWidget(self.graphicsView_colorbar)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setSizeConstraint(QtWidgets.QLayout.SetMaximumSize)
        self.verticalLayout_3.setContentsMargins(-1, 5, -1, 5)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.dispmax_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.layoutWidget)
        self.dispmax_doubleSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.dispmax_doubleSpinBox.setDecimals(3)
        self.dispmax_doubleSpinBox.setObjectName("dispmax_doubleSpinBox")
        self.verticalLayout_3.addWidget(self.dispmax_doubleSpinBox)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem)
        self.resetDispLimits_Button = QtWidgets.QPushButton(self.layoutWidget)
        self.resetDispLimits_Button.setObjectName("resetDispLimits_Button")
        self.verticalLayout_3.addWidget(self.resetDispLimits_Button)
        self.resetDispSmart_Button = QtWidgets.QPushButton(self.layoutWidget)
        self.resetDispSmart_Button.setObjectName("resetDispSmart_Button")
        self.verticalLayout_3.addWidget(self.resetDispSmart_Button)
        self.saveDisp_Button = QtWidgets.QPushButton(self.layoutWidget)
        self.saveDisp_Button.setObjectName("saveDisp_Button")
        self.verticalLayout_3.addWidget(self.saveDisp_Button)
        self.setMask_Button = QtWidgets.QPushButton(self.layoutWidget)
        self.setMask_Button.setObjectName("setMask_Button")
        self.verticalLayout_3.addWidget(self.setMask_Button)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem1)
        self.dispmin_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.layoutWidget)
        self.dispmin_doubleSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.dispmin_doubleSpinBox.setDecimals(3)
        self.dispmin_doubleSpinBox.setObjectName("dispmin_doubleSpinBox")
        self.verticalLayout_3.addWidget(self.dispmin_doubleSpinBox)
        self.largeimage_horizontalLayout.addLayout(self.verticalLayout_3)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.colormap_verticalLayout = QtWidgets.QVBoxLayout()
        self.colormap_verticalLayout.setObjectName("colormap_verticalLayout")
        self.label_2 = QtWidgets.QLabel(self.layoutWidget)
        self.label_2.setMaximumSize(QtCore.QSize(16777215, 14))
        self.label_2.setObjectName("label_2")
        self.colormap_verticalLayout.addWidget(self.label_2)
        self.gray_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.gray_radioButton.setFont(font)
        self.gray_radioButton.setObjectName("gray_radioButton")
        self.colormap_buttonGroup = QtWidgets.QButtonGroup(MainWindow)
        self.colormap_buttonGroup.setObjectName("colormap_buttonGroup")
        self.colormap_buttonGroup.addButton(self.gray_radioButton)
        self.colormap_verticalLayout.addWidget(self.gray_radioButton)
        self.thermal_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.thermal_radioButton.setFont(font)
        self.thermal_radioButton.setObjectName("thermal_radioButton")
        self.colormap_buttonGroup.addButton(self.thermal_radioButton)
        self.colormap_verticalLayout.addWidget(self.thermal_radioButton)
        self.GYR_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.GYR_radioButton.setFont(font)
        self.GYR_radioButton.setObjectName("GYR_radioButton")
        self.colormap_buttonGroup.addButton(self.GYR_radioButton)
        self.colormap_verticalLayout.addWidget(self.GYR_radioButton)
        self.rainbow_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.rainbow_radioButton.setFont(font)
        self.rainbow_radioButton.setObjectName("rainbow_radioButton")
        self.colormap_buttonGroup.addButton(self.rainbow_radioButton)
        self.colormap_verticalLayout.addWidget(self.rainbow_radioButton)
        self.viridis_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.viridis_radioButton.setFont(font)
        self.viridis_radioButton.setObjectName("viridis_radioButton")
        self.colormap_buttonGroup.addButton(self.viridis_radioButton)
        self.colormap_verticalLayout.addWidget(self.viridis_radioButton)
        self.jet_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.jet_radioButton.setFont(font)
        self.jet_radioButton.setObjectName("jet_radioButton")
        self.colormap_buttonGroup.addButton(self.jet_radioButton)
        self.colormap_verticalLayout.addWidget(self.jet_radioButton)
        self.aspects_verticalLayout = QtWidgets.QVBoxLayout()
        self.aspects_verticalLayout.setSpacing(0)
        self.aspects_verticalLayout.setObjectName("aspects_verticalLayout")
        self.summary_Label = QtWidgets.QLabel(self.layoutWidget)
        self.summary_Label.setMaximumSize(QtCore.QSize(16777215, 14))
        self.summary_Label.setObjectName("summary_Label")
        self.aspects_verticalLayout.addWidget(self.summary_Label)
        self.raw_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.raw_radioButton.setFont(font)
        self.raw_radioButton.setChecked(True)
        self.raw_radioButton.setObjectName("raw_radioButton")
        self.stats_buttonGroup = QtWidgets.QButtonGroup(MainWindow)
        self.stats_buttonGroup.setObjectName("stats_buttonGroup")
        self.stats_buttonGroup.addButton(self.raw_radioButton)
        self.aspects_verticalLayout.addWidget(self.raw_radioButton)
        self.mean_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.mean_radioButton.setFont(font)
        self.mean_radioButton.setChecked(False)
        self.mean_radioButton.setObjectName("mean_radioButton")
        self.stats_buttonGroup.addButton(self.mean_radioButton)
        self.aspects_verticalLayout.addWidget(self.mean_radioButton)
        self.median_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.median_radioButton.setFont(font)
        self.median_radioButton.setObjectName("median_radioButton")
        self.stats_buttonGroup.addButton(self.median_radioButton)
        self.aspects_verticalLayout.addWidget(self.median_radioButton)
        self.robustmean_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.robustmean_radioButton.setFont(font)
        self.robustmean_radioButton.setObjectName("robustmean_radioButton")
        self.stats_buttonGroup.addButton(self.robustmean_radioButton)
        self.aspects_verticalLayout.addWidget(self.robustmean_radioButton)
        self.std_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.std_radioButton.setFont(font)
        self.std_radioButton.setObjectName("std_radioButton")
        self.stats_buttonGroup.addButton(self.std_radioButton)
        self.aspects_verticalLayout.addWidget(self.std_radioButton)
        self.MAD_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.MAD_radioButton.setFont(font)
        self.MAD_radioButton.setObjectName("MAD_radioButton")
        self.stats_buttonGroup.addButton(self.MAD_radioButton)
        self.aspects_verticalLayout.addWidget(self.MAD_radioButton)
        self.colormap_verticalLayout.addLayout(self.aspects_verticalLayout)
        self.verticalLayout_2.addLayout(self.colormap_verticalLayout)
        self.largeimage_horizontalLayout.addLayout(self.verticalLayout_2)
        self.overlays_groupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.overlays_groupBox.setGeometry(QtCore.QRect(10, 315, 421, 376))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.overlays_groupBox.sizePolicy().hasHeightForWidth())
        self.overlays_groupBox.setSizePolicy(sizePolicy)
        self.overlays_groupBox.setMinimumSize(QtCore.QSize(230, 0))
        self.overlays_groupBox.setMaximumSize(QtCore.QSize(16777215, 683))
        self.overlays_groupBox.setObjectName("overlays_groupBox")
        self.overlay_radioButton_05 = QtWidgets.QRadioButton(self.overlays_groupBox)
        self.overlay_radioButton_05.setGeometry(QtCore.QRect(10, 260, 151, 20))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.overlay_radioButton_05.setFont(font)
        self.overlay_radioButton_05.setObjectName("overlay_radioButton_05")
        self.overlay_graphicsView_01 = GraphicsLayoutWidget(self.overlays_groupBox)
        self.overlay_graphicsView_01.setGeometry(QtCore.QRect(10, 30, 198, 64))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.overlay_graphicsView_01.sizePolicy().hasHeightForWidth())
        self.overlay_graphicsView_01.setSizePolicy(sizePolicy)
        self.overlay_graphicsView_01.setMinimumSize(QtCore.QSize(198, 64))
        self.overlay_graphicsView_01.setMaximumSize(QtCore.QSize(198, 64))
        self.overlay_graphicsView_01.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.overlay_graphicsView_01.setAlignment(QtCore.Qt.AlignCenter)
        self.overlay_graphicsView_01.setObjectName("overlay_graphicsView_01")
        self.overlay_radioButton_01 = QtWidgets.QRadioButton(self.overlays_groupBox)
        self.overlay_radioButton_01.setGeometry(QtCore.QRect(10, 90, 151, 20))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.overlay_radioButton_01.setFont(font)
        self.overlay_radioButton_01.setObjectName("overlay_radioButton_01")
        self.overlay_radioButton_02 = QtWidgets.QRadioButton(self.overlays_groupBox)
        self.overlay_radioButton_02.setGeometry(QtCore.QRect(220, 90, 151, 20))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.overlay_radioButton_02.setFont(font)
        self.overlay_radioButton_02.setObjectName("overlay_radioButton_02")
        self.overlay_radioButton_03 = QtWidgets.QRadioButton(self.overlays_groupBox)
        self.overlay_radioButton_03.setGeometry(QtCore.QRect(220, 175, 151, 20))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.overlay_radioButton_03.setFont(font)
        self.overlay_radioButton_03.setObjectName("overlay_radioButton_03")
        self.overlay_radioButton_04 = QtWidgets.QRadioButton(self.overlays_groupBox)
        self.overlay_radioButton_04.setGeometry(QtCore.QRect(10, 175, 151, 20))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.overlay_radioButton_04.setFont(font)
        self.overlay_radioButton_04.setObjectName("overlay_radioButton_04")
        self.corrout_radioButton = QtWidgets.QRadioButton(self.overlays_groupBox)
        self.corrout_radioButton.setGeometry(QtCore.QRect(10, 490, 151, 20))
        self.corrout_radioButton.setChecked(True)
        self.corrout_radioButton.setObjectName("corrout_radioButton")
        self.overlay_radioButton_06 = QtWidgets.QRadioButton(self.overlays_groupBox)
        self.overlay_radioButton_06.setGeometry(QtCore.QRect(220, 260, 151, 20))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.overlay_radioButton_06.setFont(font)
        self.overlay_radioButton_06.setObjectName("overlay_radioButton_06")
        self.overlay_radioButton_07 = QtWidgets.QRadioButton(self.overlays_groupBox)
        self.overlay_radioButton_07.setGeometry(QtCore.QRect(10, 345, 151, 20))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.overlay_radioButton_07.setFont(font)
        self.overlay_radioButton_07.setObjectName("overlay_radioButton_07")
        self.overlay_radioButton_08 = QtWidgets.QRadioButton(self.overlays_groupBox)
        self.overlay_radioButton_08.setGeometry(QtCore.QRect(220, 345, 151, 20))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.overlay_radioButton_08.setFont(font)
        self.overlay_radioButton_08.setObjectName("overlay_radioButton_08")
        self.overlay_graphicsView_04 = GraphicsLayoutWidget(self.overlays_groupBox)
        self.overlay_graphicsView_04.setGeometry(QtCore.QRect(10, 115, 192, 64))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.overlay_graphicsView_04.sizePolicy().hasHeightForWidth())
        self.overlay_graphicsView_04.setSizePolicy(sizePolicy)
        self.overlay_graphicsView_04.setMinimumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_04.setMaximumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_04.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.overlay_graphicsView_04.setAlignment(QtCore.Qt.AlignCenter)
        self.overlay_graphicsView_04.setObjectName("overlay_graphicsView_04")
        self.overlay_graphicsView_06 = GraphicsLayoutWidget(self.overlays_groupBox)
        self.overlay_graphicsView_06.setGeometry(QtCore.QRect(220, 200, 192, 64))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.overlay_graphicsView_06.sizePolicy().hasHeightForWidth())
        self.overlay_graphicsView_06.setSizePolicy(sizePolicy)
        self.overlay_graphicsView_06.setMinimumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_06.setMaximumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_06.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.overlay_graphicsView_06.setAlignment(QtCore.Qt.AlignCenter)
        self.overlay_graphicsView_06.setObjectName("overlay_graphicsView_06")
        self.overlay_graphicsView_03 = GraphicsLayoutWidget(self.overlays_groupBox)
        self.overlay_graphicsView_03.setGeometry(QtCore.QRect(220, 115, 192, 64))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.overlay_graphicsView_03.sizePolicy().hasHeightForWidth())
        self.overlay_graphicsView_03.setSizePolicy(sizePolicy)
        self.overlay_graphicsView_03.setMinimumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_03.setMaximumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_03.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.overlay_graphicsView_03.setAlignment(QtCore.Qt.AlignCenter)
        self.overlay_graphicsView_03.setObjectName("overlay_graphicsView_03")
        self.overlay_graphicsView_08 = GraphicsLayoutWidget(self.overlays_groupBox)
        self.overlay_graphicsView_08.setGeometry(QtCore.QRect(220, 285, 192, 64))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.overlay_graphicsView_08.sizePolicy().hasHeightForWidth())
        self.overlay_graphicsView_08.setSizePolicy(sizePolicy)
        self.overlay_graphicsView_08.setMinimumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_08.setMaximumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_08.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.overlay_graphicsView_08.setAlignment(QtCore.Qt.AlignCenter)
        self.overlay_graphicsView_08.setObjectName("overlay_graphicsView_08")
        self.overlay_graphicsView_05 = GraphicsLayoutWidget(self.overlays_groupBox)
        self.overlay_graphicsView_05.setGeometry(QtCore.QRect(10, 200, 192, 64))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.overlay_graphicsView_05.sizePolicy().hasHeightForWidth())
        self.overlay_graphicsView_05.setSizePolicy(sizePolicy)
        self.overlay_graphicsView_05.setMinimumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_05.setMaximumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_05.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.overlay_graphicsView_05.setAlignment(QtCore.Qt.AlignCenter)
        self.overlay_graphicsView_05.setObjectName("overlay_graphicsView_05")
        self.overlay_graphicsView_02 = GraphicsLayoutWidget(self.overlays_groupBox)
        self.overlay_graphicsView_02.setGeometry(QtCore.QRect(220, 30, 192, 64))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.overlay_graphicsView_02.sizePolicy().hasHeightForWidth())
        self.overlay_graphicsView_02.setSizePolicy(sizePolicy)
        self.overlay_graphicsView_02.setMinimumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_02.setMaximumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_02.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.overlay_graphicsView_02.setAlignment(QtCore.Qt.AlignCenter)
        self.overlay_graphicsView_02.setObjectName("overlay_graphicsView_02")
        self.overlay_graphicsView_07 = GraphicsLayoutWidget(self.overlays_groupBox)
        self.overlay_graphicsView_07.setGeometry(QtCore.QRect(10, 285, 192, 64))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.overlay_graphicsView_07.sizePolicy().hasHeightForWidth())
        self.overlay_graphicsView_07.setSizePolicy(sizePolicy)
        self.overlay_graphicsView_07.setMinimumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_07.setMaximumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_07.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.overlay_graphicsView_07.setAlignment(QtCore.Qt.AlignCenter)
        self.overlay_graphicsView_07.setObjectName("overlay_graphicsView_07")
        self.overlay_graphicsView_01.raise_()
        self.overlay_radioButton_01.raise_()
        self.overlay_radioButton_02.raise_()
        self.overlay_radioButton_03.raise_()
        self.overlay_radioButton_04.raise_()
        self.corrout_radioButton.raise_()
        self.overlay_radioButton_05.raise_()
        self.overlay_radioButton_06.raise_()
        self.overlay_radioButton_07.raise_()
        self.overlay_radioButton_08.raise_()
        self.overlay_graphicsView_04.raise_()
        self.overlay_graphicsView_06.raise_()
        self.overlay_graphicsView_03.raise_()
        self.overlay_graphicsView_08.raise_()
        self.overlay_graphicsView_05.raise_()
        self.overlay_graphicsView_02.raise_()
        self.overlay_graphicsView_07.raise_()
        self.histogram_groupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.histogram_groupBox.setGeometry(QtCore.QRect(440, 315, 381, 201))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.histogram_groupBox.sizePolicy().hasHeightForWidth())
        self.histogram_groupBox.setSizePolicy(sizePolicy)
        self.histogram_groupBox.setMinimumSize(QtCore.QSize(100, 100))
        self.histogram_groupBox.setMaximumSize(QtCore.QSize(500, 1000))
        self.histogram_groupBox.setObjectName("histogram_groupBox")
        self.histogram_graphicsView = GraphicsLayoutWidget(self.histogram_groupBox)
        self.histogram_graphicsView.setGeometry(QtCore.QRect(10, 30, 361, 161))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.histogram_graphicsView.sizePolicy().hasHeightForWidth())
        self.histogram_graphicsView.setSizePolicy(sizePolicy)
        self.histogram_graphicsView.setMinimumSize(QtCore.QSize(0, 100))
        self.histogram_graphicsView.setMaximumSize(QtCore.QSize(1000, 1000))
        self.histogram_graphicsView.setObjectName("histogram_graphicsView")
        self.groupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.groupBox.setGeometry(QtCore.QRect(830, 315, 281, 201))
        self.groupBox.setObjectName("groupBox")
        self.label_4 = QtWidgets.QLabel(self.groupBox)
        self.label_4.setGeometry(QtCore.QRect(10, 35, 16, 16))
        self.label_4.setObjectName("label_4")
        self.pixnumX_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.groupBox)
        self.pixnumX_doubleSpinBox.setGeometry(QtCore.QRect(30, 30, 67, 24))
        self.pixnumX_doubleSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.pixnumX_doubleSpinBox.setDecimals(0)
        self.pixnumX_doubleSpinBox.setObjectName("pixnumX_doubleSpinBox")
        self.label_7 = QtWidgets.QLabel(self.groupBox)
        self.label_7.setGeometry(QtCore.QRect(30, 20, 56, 13))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_7.setFont(font)
        self.label_7.setObjectName("label_7")
        self.coordX_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.groupBox)
        self.coordX_doubleSpinBox.setGeometry(QtCore.QRect(100, 30, 67, 24))
        self.coordX_doubleSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.coordX_doubleSpinBox.setDecimals(3)
        self.coordX_doubleSpinBox.setObjectName("coordX_doubleSpinBox")
        self.label_9 = QtWidgets.QLabel(self.groupBox)
        self.label_9.setGeometry(QtCore.QRect(100, 20, 56, 13))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_9.setFont(font)
        self.label_9.setObjectName("label_9")
        self.pixnumY_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.groupBox)
        self.pixnumY_doubleSpinBox.setGeometry(QtCore.QRect(30, 55, 67, 24))
        self.pixnumY_doubleSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.pixnumY_doubleSpinBox.setDecimals(0)
        self.pixnumY_doubleSpinBox.setObjectName("pixnumY_doubleSpinBox")
        self.coordY_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.groupBox)
        self.coordY_doubleSpinBox.setGeometry(QtCore.QRect(100, 55, 67, 24))
        self.coordY_doubleSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.coordY_doubleSpinBox.setDecimals(3)
        self.coordY_doubleSpinBox.setObjectName("coordY_doubleSpinBox")
        self.pixnumZ_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.groupBox)
        self.pixnumZ_doubleSpinBox.setGeometry(QtCore.QRect(30, 80, 67, 24))
        self.pixnumZ_doubleSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.pixnumZ_doubleSpinBox.setDecimals(0)
        self.pixnumZ_doubleSpinBox.setObjectName("pixnumZ_doubleSpinBox")
        self.coordZ_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.groupBox)
        self.coordZ_doubleSpinBox.setGeometry(QtCore.QRect(100, 80, 67, 24))
        self.coordZ_doubleSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.coordZ_doubleSpinBox.setDecimals(3)
        self.coordZ_doubleSpinBox.setObjectName("coordZ_doubleSpinBox")
        self.label_6 = QtWidgets.QLabel(self.groupBox)
        self.label_6.setGeometry(QtCore.QRect(10, 60, 16, 16))
        self.label_6.setObjectName("label_6")
        self.label_8 = QtWidgets.QLabel(self.groupBox)
        self.label_8.setGeometry(QtCore.QRect(10, 85, 16, 16))
        self.label_8.setObjectName("label_8")
        self.coordT_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.groupBox)
        self.coordT_doubleSpinBox.setGeometry(QtCore.QRect(100, 130, 67, 24))
        self.coordT_doubleSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.coordT_doubleSpinBox.setDecimals(3)
        self.coordT_doubleSpinBox.setObjectName("coordT_doubleSpinBox")
        self.pixnumT_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.groupBox)
        self.pixnumT_doubleSpinBox.setGeometry(QtCore.QRect(30, 130, 67, 24))
        self.pixnumT_doubleSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.pixnumT_doubleSpinBox.setDecimals(0)
        self.pixnumT_doubleSpinBox.setObjectName("pixnumT_doubleSpinBox")
        self.label_3 = QtWidgets.QLabel(self.groupBox)
        self.label_3.setGeometry(QtCore.QRect(10, 135, 16, 16))
        self.label_3.setObjectName("label_3")
        self.TimeSlider = QtWidgets.QSlider(self.groupBox)
        self.TimeSlider.setGeometry(QtCore.QRect(10, 165, 261, 22))
        self.TimeSlider.setOrientation(QtCore.Qt.Horizontal)
        self.TimeSlider.setObjectName("TimeSlider")
        self.label_10 = QtWidgets.QLabel(self.groupBox)
        self.label_10.setGeometry(QtCore.QRect(30, 120, 56, 13))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_10.setFont(font)
        self.label_10.setObjectName("label_10")
        self.label_11 = QtWidgets.QLabel(self.groupBox)
        self.label_11.setGeometry(QtCore.QRect(100, 120, 56, 13))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_11.setFont(font)
        self.label_11.setObjectName("label_11")
        self.runMovieButton = QtWidgets.QPushButton(self.groupBox)
        self.runMovieButton.setGeometry(QtCore.QRect(170, 127, 110, 32))
        self.runMovieButton.setObjectName("runMovieButton")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1118, 22))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.actionQuit = QtWidgets.QAction(MainWindow)
        self.actionQuit.setObjectName("actionQuit")

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.histogram_groupBox_2.setTitle(_translate("MainWindow", "Information"))
        self.imageData_groupBox.setTitle(_translate("MainWindow", "Image Data"))
        self.label.setText(_translate("MainWindow", "Click in image to position ROI.  Drag right or left to increase or decrease the ROI size"))
        self.resetDispLimits_Button.setText(_translate("MainWindow", "Full Range"))
        self.resetDispSmart_Button.setText(_translate("MainWindow", "Smart"))
        self.saveDisp_Button.setText(_translate("MainWindow", "Save"))
        self.setMask_Button.setText(_translate("MainWindow", "No mask"))
        self.label_2.setText(_translate("MainWindow", "Colormap"))
        self.gray_radioButton.setText(_translate("MainWindow", "Gray"))
        self.thermal_radioButton.setText(_translate("MainWindow", "Thermal"))
        self.GYR_radioButton.setText(_translate("MainWindow", "GYR"))
        self.rainbow_radioButton.setText(_translate("MainWindow", "Rainbow"))
        self.viridis_radioButton.setText(_translate("MainWindow", "Viridis"))
        self.jet_radioButton.setText(_translate("MainWindow", "Jet"))
        self.summary_Label.setText(_translate("MainWindow", "Region summaries"))
        self.raw_radioButton.setText(_translate("MainWindow", "Raw data"))
        self.mean_radioButton.setText(_translate("MainWindow", "Mean"))
        self.median_radioButton.setText(_translate("MainWindow", "Median"))
        self.robustmean_radioButton.setText(_translate("MainWindow", "Robust mean"))
        self.std_radioButton.setText(_translate("MainWindow", "Std dev"))
        self.MAD_radioButton.setText(_translate("MainWindow", "MAD"))
        self.overlays_groupBox.setTitle(_translate("MainWindow", "Overlays"))
        self.overlay_radioButton_05.setText(_translate("MainWindow", "Mask"))
        self.overlay_radioButton_01.setText(_translate("MainWindow", "Lag times"))
        self.overlay_radioButton_02.setText(_translate("MainWindow", "Correlation strength"))
        self.overlay_radioButton_03.setText(_translate("MainWindow", "MTT"))
        self.overlay_radioButton_04.setText(_translate("MainWindow", "R2"))
        self.corrout_radioButton.setText(_translate("MainWindow", "Correlation function"))
        self.overlay_radioButton_06.setText(_translate("MainWindow", "Mask"))
        self.overlay_radioButton_07.setText(_translate("MainWindow", "Mask"))
        self.overlay_radioButton_08.setText(_translate("MainWindow", "Mask"))
        self.histogram_groupBox.setTitle(_translate("MainWindow", "Overlay Histogram"))
        self.groupBox.setTitle(_translate("MainWindow", "Location"))
        self.label_4.setText(_translate("MainWindow", "X"))
        self.label_7.setText(_translate("MainWindow", "Voxel"))
        self.label_9.setText(_translate("MainWindow", "mm"))
        self.label_6.setText(_translate("MainWindow", "Y"))
        self.label_8.setText(_translate("MainWindow", "Z"))
        self.label_3.setText(_translate("MainWindow", "T"))
        self.label_10.setText(_translate("MainWindow", "Timepoint"))
        self.label_11.setText(_translate("MainWindow", "seconds"))
        self.runMovieButton.setText(_translate("MainWindow", "Start Movie"))
        self.actionQuit.setText(_translate("MainWindow", "Quit"))
예제 #5
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1750, 826)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        MainWindow.setMinimumSize(QtCore.QSize(0, 100))
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName("gridLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setSizeConstraint(
            QtWidgets.QLayout.SetNoConstraint)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.pane1_label = QtWidgets.QLabel(self.centralwidget)
        self.pane1_label.setAlignment(QtCore.Qt.AlignCenter)
        self.pane1_label.setObjectName("pane1_label")
        self.verticalLayout.addWidget(self.pane1_label)
        self.image_graphicsView_1 = GraphicsLayoutWidget(self.centralwidget)
        self.image_graphicsView_1.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.image_graphicsView_1.sizePolicy().hasHeightForWidth())
        self.image_graphicsView_1.setSizePolicy(sizePolicy)
        self.image_graphicsView_1.setMinimumSize(QtCore.QSize(100, 100))
        self.image_graphicsView_1.setMaximumSize(QtCore.QSize(1000, 1200))
        self.image_graphicsView_1.setSizeIncrement(QtCore.QSize(1, 1))
        self.image_graphicsView_1.setObjectName("image_graphicsView_1")
        self.verticalLayout.addWidget(self.image_graphicsView_1)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.pane2_label = QtWidgets.QLabel(self.centralwidget)
        self.pane2_label.setAlignment(QtCore.Qt.AlignCenter)
        self.pane2_label.setObjectName("pane2_label")
        self.verticalLayout_2.addWidget(self.pane2_label)
        self.image_graphicsView_2 = GraphicsLayoutWidget(self.centralwidget)
        self.image_graphicsView_2.setEnabled(True)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.image_graphicsView_2.sizePolicy().hasHeightForWidth())
        self.image_graphicsView_2.setSizePolicy(sizePolicy)
        self.image_graphicsView_2.setMinimumSize(QtCore.QSize(100, 100))
        self.image_graphicsView_2.setMaximumSize(QtCore.QSize(1000, 1200))
        self.image_graphicsView_2.setSizeIncrement(QtCore.QSize(1, 1))
        self.image_graphicsView_2.setObjectName("image_graphicsView_2")
        self.verticalLayout_2.addWidget(self.image_graphicsView_2)
        self.horizontalLayout.addLayout(self.verticalLayout_2)
        self.gridLayout.addLayout(self.horizontalLayout, 0, 0, 1, 1)
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1750, 24))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.pane1_label.setText(
            _translate(
                "MainWindow",
                "Component XX of XX: XX.X% explained var., XX.X% total var."))
        self.pane2_label.setText(
            _translate(
                "MainWindow",
                "Component XX of XX: XX.X% explained var., XX.X% total var."))
        self.label.setText(
            _translate(
                "MainWindow",
                'Right and left arrows step through components. Up and down arrows toggle sortmode.  "r" to reset component.  "a", "c", and "s" select axial, coronal, or sagittal views.  ESC to write component file.  "b" to blink! ',
            ))
예제 #6
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1129, 909)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding
        )
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        MainWindow.setMinimumSize(QtCore.QSize(256, 256))
        MainWindow.setMaximumSize(QtCore.QSize(1400, 16777215))
        MainWindow.setSizeIncrement(QtCore.QSize(1, 1))
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.logOutput_groupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.logOutput_groupBox.setGeometry(QtCore.QRect(440, 520, 671, 171))
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.logOutput_groupBox.sizePolicy().hasHeightForWidth())
        self.logOutput_groupBox.setSizePolicy(sizePolicy)
        self.logOutput_groupBox.setMinimumSize(QtCore.QSize(100, 100))
        self.logOutput_groupBox.setMaximumSize(QtCore.QSize(700, 283))
        self.logOutput_groupBox.setObjectName("logOutput_groupBox")
        self.logOutput = QtWidgets.QTextEdit(self.logOutput_groupBox)
        self.logOutput.setGeometry(QtCore.QRect(10, 30, 651, 131))
        font = QtGui.QFont()
        font.setFamily("Courier")
        self.logOutput.setFont(font)
        self.logOutput.setObjectName("logOutput")
        self.imageData_groupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.imageData_groupBox.setGeometry(QtCore.QRect(10, 0, 1100, 312))
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.imageData_groupBox.sizePolicy().hasHeightForWidth())
        self.imageData_groupBox.setSizePolicy(sizePolicy)
        self.imageData_groupBox.setMinimumSize(QtCore.QSize(1100, 100))
        self.imageData_groupBox.setMaximumSize(QtCore.QSize(1100, 312))
        self.imageData_groupBox.setObjectName("imageData_groupBox")
        self.label = QtWidgets.QLabel(self.imageData_groupBox)
        self.label.setGeometry(QtCore.QRect(10, 520, 521, 16))
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.layoutWidget = QtWidgets.QWidget(self.imageData_groupBox)
        self.layoutWidget.setGeometry(QtCore.QRect(10, 20, 1073, 286))
        self.layoutWidget.setObjectName("layoutWidget")
        self.largeimage_horizontalLayout = QtWidgets.QHBoxLayout(self.layoutWidget)
        self.largeimage_horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetNoConstraint)
        self.largeimage_horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.largeimage_horizontalLayout.setObjectName("largeimage_horizontalLayout")
        self.main_graphicsView_ax = GraphicsLayoutWidget(self.layoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.main_graphicsView_ax.sizePolicy().hasHeightForWidth())
        self.main_graphicsView_ax.setSizePolicy(sizePolicy)
        self.main_graphicsView_ax.setMinimumSize(QtCore.QSize(256, 256))
        self.main_graphicsView_ax.setMaximumSize(QtCore.QSize(256, 256))
        self.main_graphicsView_ax.setSizeIncrement(QtCore.QSize(1, 1))
        self.main_graphicsView_ax.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.main_graphicsView_ax.setAlignment(QtCore.Qt.AlignCenter)
        self.main_graphicsView_ax.setObjectName("main_graphicsView_ax")
        self.largeimage_horizontalLayout.addWidget(self.main_graphicsView_ax)
        self.main_graphicsView_cor = GraphicsLayoutWidget(self.layoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.main_graphicsView_cor.sizePolicy().hasHeightForWidth())
        self.main_graphicsView_cor.setSizePolicy(sizePolicy)
        self.main_graphicsView_cor.setMinimumSize(QtCore.QSize(256, 256))
        self.main_graphicsView_cor.setMaximumSize(QtCore.QSize(256, 256))
        self.main_graphicsView_cor.setSizeIncrement(QtCore.QSize(1, 1))
        self.main_graphicsView_cor.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.main_graphicsView_cor.setAlignment(QtCore.Qt.AlignCenter)
        self.main_graphicsView_cor.setObjectName("main_graphicsView_cor")
        self.largeimage_horizontalLayout.addWidget(self.main_graphicsView_cor)
        self.main_graphicsView_sag = GraphicsLayoutWidget(self.layoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.main_graphicsView_sag.sizePolicy().hasHeightForWidth())
        self.main_graphicsView_sag.setSizePolicy(sizePolicy)
        self.main_graphicsView_sag.setMinimumSize(QtCore.QSize(256, 256))
        self.main_graphicsView_sag.setMaximumSize(QtCore.QSize(256, 256))
        self.main_graphicsView_sag.setSizeIncrement(QtCore.QSize(1, 1))
        self.main_graphicsView_sag.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.main_graphicsView_sag.setAlignment(QtCore.Qt.AlignCenter)
        self.main_graphicsView_sag.setObjectName("main_graphicsView_sag")
        self.largeimage_horizontalLayout.addWidget(self.main_graphicsView_sag)
        self.graphicsView_colorbar = GraphicsView(self.layoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.graphicsView_colorbar.sizePolicy().hasHeightForWidth())
        self.graphicsView_colorbar.setSizePolicy(sizePolicy)
        self.graphicsView_colorbar.setMinimumSize(QtCore.QSize(30, 128))
        self.graphicsView_colorbar.setMaximumSize(QtCore.QSize(25, 256))
        self.graphicsView_colorbar.setSizeIncrement(QtCore.QSize(1, 1))
        self.graphicsView_colorbar.setObjectName("graphicsView_colorbar")
        self.largeimage_horizontalLayout.addWidget(self.graphicsView_colorbar)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setSizeConstraint(QtWidgets.QLayout.SetMaximumSize)
        self.verticalLayout_3.setContentsMargins(-1, 5, -1, 5)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.dispmax_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.layoutWidget)
        self.dispmax_doubleSpinBox.setAlignment(
            QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter
        )
        self.dispmax_doubleSpinBox.setDecimals(3)
        self.dispmax_doubleSpinBox.setObjectName("dispmax_doubleSpinBox")
        self.verticalLayout_3.addWidget(self.dispmax_doubleSpinBox)
        spacerItem = QtWidgets.QSpacerItem(
            20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding
        )
        self.verticalLayout_3.addItem(spacerItem)
        self.resetDispLimits_Button = QtWidgets.QPushButton(self.layoutWidget)
        self.resetDispLimits_Button.setObjectName("resetDispLimits_Button")
        self.verticalLayout_3.addWidget(self.resetDispLimits_Button)
        self.resetDispSmart_Button = QtWidgets.QPushButton(self.layoutWidget)
        self.resetDispSmart_Button.setObjectName("resetDispSmart_Button")
        self.verticalLayout_3.addWidget(self.resetDispSmart_Button)
        self.saveDisp_Button = QtWidgets.QPushButton(self.layoutWidget)
        self.saveDisp_Button.setObjectName("saveDisp_Button")
        self.verticalLayout_3.addWidget(self.saveDisp_Button)
        self.setMask_Button = QtWidgets.QPushButton(self.layoutWidget)
        self.setMask_Button.setObjectName("setMask_Button")
        self.verticalLayout_3.addWidget(self.setMask_Button)
        spacerItem1 = QtWidgets.QSpacerItem(
            20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding
        )
        self.verticalLayout_3.addItem(spacerItem1)
        self.dispmin_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.layoutWidget)
        self.dispmin_doubleSpinBox.setAlignment(
            QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter
        )
        self.dispmin_doubleSpinBox.setDecimals(3)
        self.dispmin_doubleSpinBox.setObjectName("dispmin_doubleSpinBox")
        self.verticalLayout_3.addWidget(self.dispmin_doubleSpinBox)
        self.largeimage_horizontalLayout.addLayout(self.verticalLayout_3)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.colormap_verticalLayout = QtWidgets.QVBoxLayout()
        self.colormap_verticalLayout.setObjectName("colormap_verticalLayout")
        self.label_2 = QtWidgets.QLabel(self.layoutWidget)
        self.label_2.setMaximumSize(QtCore.QSize(16777215, 14))
        self.label_2.setObjectName("label_2")
        self.colormap_verticalLayout.addWidget(self.label_2)
        self.gray_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.gray_radioButton.setFont(font)
        self.gray_radioButton.setObjectName("gray_radioButton")
        self.colormap_buttonGroup = QtWidgets.QButtonGroup(MainWindow)
        self.colormap_buttonGroup.setObjectName("colormap_buttonGroup")
        self.colormap_buttonGroup.addButton(self.gray_radioButton)
        self.colormap_verticalLayout.addWidget(self.gray_radioButton)
        self.thermal_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.thermal_radioButton.setFont(font)
        self.thermal_radioButton.setObjectName("thermal_radioButton")
        self.colormap_buttonGroup.addButton(self.thermal_radioButton)
        self.colormap_verticalLayout.addWidget(self.thermal_radioButton)
        self.GYR_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.GYR_radioButton.setFont(font)
        self.GYR_radioButton.setObjectName("GYR_radioButton")
        self.colormap_buttonGroup.addButton(self.GYR_radioButton)
        self.colormap_verticalLayout.addWidget(self.GYR_radioButton)
        self.rainbow_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.rainbow_radioButton.setFont(font)
        self.rainbow_radioButton.setObjectName("rainbow_radioButton")
        self.colormap_buttonGroup.addButton(self.rainbow_radioButton)
        self.colormap_verticalLayout.addWidget(self.rainbow_radioButton)
        self.viridis_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.viridis_radioButton.setFont(font)
        self.viridis_radioButton.setObjectName("viridis_radioButton")
        self.colormap_buttonGroup.addButton(self.viridis_radioButton)
        self.colormap_verticalLayout.addWidget(self.viridis_radioButton)
        self.jet_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.jet_radioButton.setFont(font)
        self.jet_radioButton.setObjectName("jet_radioButton")
        self.colormap_buttonGroup.addButton(self.jet_radioButton)
        self.colormap_verticalLayout.addWidget(self.jet_radioButton)
        self.aspects_verticalLayout = QtWidgets.QVBoxLayout()
        self.aspects_verticalLayout.setSpacing(0)
        self.aspects_verticalLayout.setObjectName("aspects_verticalLayout")
        self.summary_Label = QtWidgets.QLabel(self.layoutWidget)
        self.summary_Label.setMaximumSize(QtCore.QSize(16777215, 14))
        self.summary_Label.setObjectName("summary_Label")
        self.aspects_verticalLayout.addWidget(self.summary_Label)
        self.raw_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.raw_radioButton.setFont(font)
        self.raw_radioButton.setChecked(True)
        self.raw_radioButton.setObjectName("raw_radioButton")
        self.stats_buttonGroup = QtWidgets.QButtonGroup(MainWindow)
        self.stats_buttonGroup.setObjectName("stats_buttonGroup")
        self.stats_buttonGroup.addButton(self.raw_radioButton)
        self.aspects_verticalLayout.addWidget(self.raw_radioButton)
        self.mean_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.mean_radioButton.setFont(font)
        self.mean_radioButton.setChecked(False)
        self.mean_radioButton.setObjectName("mean_radioButton")
        self.stats_buttonGroup.addButton(self.mean_radioButton)
        self.aspects_verticalLayout.addWidget(self.mean_radioButton)
        self.median_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.median_radioButton.setFont(font)
        self.median_radioButton.setObjectName("median_radioButton")
        self.stats_buttonGroup.addButton(self.median_radioButton)
        self.aspects_verticalLayout.addWidget(self.median_radioButton)
        self.robustmean_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.robustmean_radioButton.setFont(font)
        self.robustmean_radioButton.setObjectName("robustmean_radioButton")
        self.stats_buttonGroup.addButton(self.robustmean_radioButton)
        self.aspects_verticalLayout.addWidget(self.robustmean_radioButton)
        self.std_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.std_radioButton.setFont(font)
        self.std_radioButton.setObjectName("std_radioButton")
        self.stats_buttonGroup.addButton(self.std_radioButton)
        self.aspects_verticalLayout.addWidget(self.std_radioButton)
        self.MAD_radioButton = QtWidgets.QRadioButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.MAD_radioButton.setFont(font)
        self.MAD_radioButton.setObjectName("MAD_radioButton")
        self.stats_buttonGroup.addButton(self.MAD_radioButton)
        self.aspects_verticalLayout.addWidget(self.MAD_radioButton)
        self.colormap_verticalLayout.addLayout(self.aspects_verticalLayout)
        self.verticalLayout_2.addLayout(self.colormap_verticalLayout)
        self.largeimage_horizontalLayout.addLayout(self.verticalLayout_2)
        self.overlays_groupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.overlays_groupBox.setGeometry(QtCore.QRect(10, 315, 421, 376))
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.overlays_groupBox.sizePolicy().hasHeightForWidth())
        self.overlays_groupBox.setSizePolicy(sizePolicy)
        self.overlays_groupBox.setMinimumSize(QtCore.QSize(230, 0))
        self.overlays_groupBox.setMaximumSize(QtCore.QSize(16777215, 683))
        self.overlays_groupBox.setObjectName("overlays_groupBox")
        self.overlay_radioButton_05 = QtWidgets.QRadioButton(self.overlays_groupBox)
        self.overlay_radioButton_05.setGeometry(QtCore.QRect(10, 260, 151, 20))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.overlay_radioButton_05.setFont(font)
        self.overlay_radioButton_05.setObjectName("overlay_radioButton_05")
        self.overlay_graphicsView_01 = GraphicsLayoutWidget(self.overlays_groupBox)
        self.overlay_graphicsView_01.setGeometry(QtCore.QRect(10, 30, 198, 64))
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.overlay_graphicsView_01.sizePolicy().hasHeightForWidth())
        self.overlay_graphicsView_01.setSizePolicy(sizePolicy)
        self.overlay_graphicsView_01.setMinimumSize(QtCore.QSize(198, 64))
        self.overlay_graphicsView_01.setMaximumSize(QtCore.QSize(198, 64))
        self.overlay_graphicsView_01.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.overlay_graphicsView_01.setAlignment(QtCore.Qt.AlignCenter)
        self.overlay_graphicsView_01.setObjectName("overlay_graphicsView_01")
        self.overlay_radioButton_01 = QtWidgets.QRadioButton(self.overlays_groupBox)
        self.overlay_radioButton_01.setGeometry(QtCore.QRect(10, 90, 151, 20))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.overlay_radioButton_01.setFont(font)
        self.overlay_radioButton_01.setObjectName("overlay_radioButton_01")
        self.overlay_radioButton_02 = QtWidgets.QRadioButton(self.overlays_groupBox)
        self.overlay_radioButton_02.setGeometry(QtCore.QRect(220, 90, 151, 20))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.overlay_radioButton_02.setFont(font)
        self.overlay_radioButton_02.setObjectName("overlay_radioButton_02")
        self.overlay_radioButton_03 = QtWidgets.QRadioButton(self.overlays_groupBox)
        self.overlay_radioButton_03.setGeometry(QtCore.QRect(220, 175, 151, 20))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.overlay_radioButton_03.setFont(font)
        self.overlay_radioButton_03.setObjectName("overlay_radioButton_03")
        self.overlay_radioButton_04 = QtWidgets.QRadioButton(self.overlays_groupBox)
        self.overlay_radioButton_04.setGeometry(QtCore.QRect(10, 175, 151, 20))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.overlay_radioButton_04.setFont(font)
        self.overlay_radioButton_04.setObjectName("overlay_radioButton_04")
        self.corrout_radioButton = QtWidgets.QRadioButton(self.overlays_groupBox)
        self.corrout_radioButton.setGeometry(QtCore.QRect(10, 490, 151, 20))
        self.corrout_radioButton.setChecked(True)
        self.corrout_radioButton.setObjectName("corrout_radioButton")
        self.overlay_radioButton_06 = QtWidgets.QRadioButton(self.overlays_groupBox)
        self.overlay_radioButton_06.setGeometry(QtCore.QRect(220, 260, 151, 20))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.overlay_radioButton_06.setFont(font)
        self.overlay_radioButton_06.setObjectName("overlay_radioButton_06")
        self.overlay_radioButton_07 = QtWidgets.QRadioButton(self.overlays_groupBox)
        self.overlay_radioButton_07.setGeometry(QtCore.QRect(10, 345, 151, 20))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.overlay_radioButton_07.setFont(font)
        self.overlay_radioButton_07.setObjectName("overlay_radioButton_07")
        self.overlay_radioButton_08 = QtWidgets.QRadioButton(self.overlays_groupBox)
        self.overlay_radioButton_08.setGeometry(QtCore.QRect(220, 345, 151, 20))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.overlay_radioButton_08.setFont(font)
        self.overlay_radioButton_08.setObjectName("overlay_radioButton_08")
        self.overlay_graphicsView_04 = GraphicsLayoutWidget(self.overlays_groupBox)
        self.overlay_graphicsView_04.setGeometry(QtCore.QRect(10, 115, 192, 64))
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.overlay_graphicsView_04.sizePolicy().hasHeightForWidth())
        self.overlay_graphicsView_04.setSizePolicy(sizePolicy)
        self.overlay_graphicsView_04.setMinimumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_04.setMaximumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_04.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.overlay_graphicsView_04.setAlignment(QtCore.Qt.AlignCenter)
        self.overlay_graphicsView_04.setObjectName("overlay_graphicsView_04")
        self.overlay_graphicsView_06 = GraphicsLayoutWidget(self.overlays_groupBox)
        self.overlay_graphicsView_06.setGeometry(QtCore.QRect(220, 200, 192, 64))
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.overlay_graphicsView_06.sizePolicy().hasHeightForWidth())
        self.overlay_graphicsView_06.setSizePolicy(sizePolicy)
        self.overlay_graphicsView_06.setMinimumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_06.setMaximumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_06.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.overlay_graphicsView_06.setAlignment(QtCore.Qt.AlignCenter)
        self.overlay_graphicsView_06.setObjectName("overlay_graphicsView_06")
        self.overlay_graphicsView_03 = GraphicsLayoutWidget(self.overlays_groupBox)
        self.overlay_graphicsView_03.setGeometry(QtCore.QRect(220, 115, 192, 64))
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.overlay_graphicsView_03.sizePolicy().hasHeightForWidth())
        self.overlay_graphicsView_03.setSizePolicy(sizePolicy)
        self.overlay_graphicsView_03.setMinimumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_03.setMaximumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_03.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.overlay_graphicsView_03.setAlignment(QtCore.Qt.AlignCenter)
        self.overlay_graphicsView_03.setObjectName("overlay_graphicsView_03")
        self.overlay_graphicsView_08 = GraphicsLayoutWidget(self.overlays_groupBox)
        self.overlay_graphicsView_08.setGeometry(QtCore.QRect(220, 285, 192, 64))
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.overlay_graphicsView_08.sizePolicy().hasHeightForWidth())
        self.overlay_graphicsView_08.setSizePolicy(sizePolicy)
        self.overlay_graphicsView_08.setMinimumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_08.setMaximumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_08.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.overlay_graphicsView_08.setAlignment(QtCore.Qt.AlignCenter)
        self.overlay_graphicsView_08.setObjectName("overlay_graphicsView_08")
        self.overlay_graphicsView_05 = GraphicsLayoutWidget(self.overlays_groupBox)
        self.overlay_graphicsView_05.setGeometry(QtCore.QRect(10, 200, 192, 64))
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.overlay_graphicsView_05.sizePolicy().hasHeightForWidth())
        self.overlay_graphicsView_05.setSizePolicy(sizePolicy)
        self.overlay_graphicsView_05.setMinimumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_05.setMaximumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_05.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.overlay_graphicsView_05.setAlignment(QtCore.Qt.AlignCenter)
        self.overlay_graphicsView_05.setObjectName("overlay_graphicsView_05")
        self.overlay_graphicsView_02 = GraphicsLayoutWidget(self.overlays_groupBox)
        self.overlay_graphicsView_02.setGeometry(QtCore.QRect(220, 30, 192, 64))
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.overlay_graphicsView_02.sizePolicy().hasHeightForWidth())
        self.overlay_graphicsView_02.setSizePolicy(sizePolicy)
        self.overlay_graphicsView_02.setMinimumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_02.setMaximumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_02.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.overlay_graphicsView_02.setAlignment(QtCore.Qt.AlignCenter)
        self.overlay_graphicsView_02.setObjectName("overlay_graphicsView_02")
        self.overlay_graphicsView_07 = GraphicsLayoutWidget(self.overlays_groupBox)
        self.overlay_graphicsView_07.setGeometry(QtCore.QRect(10, 285, 192, 64))
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.overlay_graphicsView_07.sizePolicy().hasHeightForWidth())
        self.overlay_graphicsView_07.setSizePolicy(sizePolicy)
        self.overlay_graphicsView_07.setMinimumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_07.setMaximumSize(QtCore.QSize(192, 64))
        self.overlay_graphicsView_07.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.overlay_graphicsView_07.setAlignment(QtCore.Qt.AlignCenter)
        self.overlay_graphicsView_07.setObjectName("overlay_graphicsView_07")
        self.overlay_graphicsView_01.raise_()
        self.overlay_radioButton_01.raise_()
        self.overlay_radioButton_02.raise_()
        self.overlay_radioButton_03.raise_()
        self.overlay_radioButton_04.raise_()
        self.corrout_radioButton.raise_()
        self.overlay_radioButton_05.raise_()
        self.overlay_radioButton_06.raise_()
        self.overlay_radioButton_07.raise_()
        self.overlay_radioButton_08.raise_()
        self.overlay_graphicsView_04.raise_()
        self.overlay_graphicsView_06.raise_()
        self.overlay_graphicsView_03.raise_()
        self.overlay_graphicsView_08.raise_()
        self.overlay_graphicsView_05.raise_()
        self.overlay_graphicsView_02.raise_()
        self.overlay_graphicsView_07.raise_()
        self.histogram_groupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.histogram_groupBox.setGeometry(QtCore.QRect(440, 315, 381, 201))
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.histogram_groupBox.sizePolicy().hasHeightForWidth())
        self.histogram_groupBox.setSizePolicy(sizePolicy)
        self.histogram_groupBox.setMinimumSize(QtCore.QSize(100, 100))
        self.histogram_groupBox.setMaximumSize(QtCore.QSize(500, 1000))
        self.histogram_groupBox.setObjectName("histogram_groupBox")
        self.histogram_graphicsView = GraphicsLayoutWidget(self.histogram_groupBox)
        self.histogram_graphicsView.setGeometry(QtCore.QRect(10, 30, 361, 161))
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.MinimumExpanding
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.histogram_graphicsView.sizePolicy().hasHeightForWidth())
        self.histogram_graphicsView.setSizePolicy(sizePolicy)
        self.histogram_graphicsView.setMinimumSize(QtCore.QSize(0, 100))
        self.histogram_graphicsView.setMaximumSize(QtCore.QSize(1000, 1000))
        self.histogram_graphicsView.setObjectName("histogram_graphicsView")
        self.mainimagedata_groupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.mainimagedata_groupBox.setGeometry(QtCore.QRect(830, 315, 281, 201))
        self.mainimagedata_groupBox.setObjectName("mainimagedata_groupBox")
        self.label_4 = QtWidgets.QLabel(self.mainimagedata_groupBox)
        self.label_4.setGeometry(QtCore.QRect(10, 35, 16, 16))
        self.label_4.setObjectName("label_4")
        self.pixnumX_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.mainimagedata_groupBox)
        self.pixnumX_doubleSpinBox.setGeometry(QtCore.QRect(30, 30, 67, 24))
        self.pixnumX_doubleSpinBox.setAlignment(
            QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter
        )
        self.pixnumX_doubleSpinBox.setDecimals(0)
        self.pixnumX_doubleSpinBox.setObjectName("pixnumX_doubleSpinBox")
        self.label_7 = QtWidgets.QLabel(self.mainimagedata_groupBox)
        self.label_7.setGeometry(QtCore.QRect(30, 20, 56, 13))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_7.setFont(font)
        self.label_7.setObjectName("label_7")
        self.coordX_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.mainimagedata_groupBox)
        self.coordX_doubleSpinBox.setGeometry(QtCore.QRect(100, 30, 67, 24))
        self.coordX_doubleSpinBox.setAlignment(
            QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter
        )
        self.coordX_doubleSpinBox.setDecimals(3)
        self.coordX_doubleSpinBox.setObjectName("coordX_doubleSpinBox")
        self.label_9 = QtWidgets.QLabel(self.mainimagedata_groupBox)
        self.label_9.setGeometry(QtCore.QRect(100, 20, 56, 13))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_9.setFont(font)
        self.label_9.setObjectName("label_9")
        self.pixnumY_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.mainimagedata_groupBox)
        self.pixnumY_doubleSpinBox.setGeometry(QtCore.QRect(30, 55, 67, 24))
        self.pixnumY_doubleSpinBox.setAlignment(
            QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter
        )
        self.pixnumY_doubleSpinBox.setDecimals(0)
        self.pixnumY_doubleSpinBox.setObjectName("pixnumY_doubleSpinBox")
        self.coordY_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.mainimagedata_groupBox)
        self.coordY_doubleSpinBox.setGeometry(QtCore.QRect(100, 55, 67, 24))
        self.coordY_doubleSpinBox.setAlignment(
            QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter
        )
        self.coordY_doubleSpinBox.setDecimals(3)
        self.coordY_doubleSpinBox.setObjectName("coordY_doubleSpinBox")
        self.pixnumZ_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.mainimagedata_groupBox)
        self.pixnumZ_doubleSpinBox.setGeometry(QtCore.QRect(30, 80, 67, 24))
        self.pixnumZ_doubleSpinBox.setAlignment(
            QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter
        )
        self.pixnumZ_doubleSpinBox.setDecimals(0)
        self.pixnumZ_doubleSpinBox.setObjectName("pixnumZ_doubleSpinBox")
        self.coordZ_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.mainimagedata_groupBox)
        self.coordZ_doubleSpinBox.setGeometry(QtCore.QRect(100, 80, 67, 24))
        self.coordZ_doubleSpinBox.setAlignment(
            QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter
        )
        self.coordZ_doubleSpinBox.setDecimals(3)
        self.coordZ_doubleSpinBox.setObjectName("coordZ_doubleSpinBox")
        self.label_6 = QtWidgets.QLabel(self.mainimagedata_groupBox)
        self.label_6.setGeometry(QtCore.QRect(10, 60, 16, 16))
        self.label_6.setObjectName("label_6")
        self.label_8 = QtWidgets.QLabel(self.mainimagedata_groupBox)
        self.label_8.setGeometry(QtCore.QRect(10, 85, 16, 16))
        self.label_8.setObjectName("label_8")
        self.coordT_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.mainimagedata_groupBox)
        self.coordT_doubleSpinBox.setGeometry(QtCore.QRect(100, 130, 67, 24))
        self.coordT_doubleSpinBox.setAlignment(
            QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter
        )
        self.coordT_doubleSpinBox.setDecimals(3)
        self.coordT_doubleSpinBox.setObjectName("coordT_doubleSpinBox")
        self.pixnumT_doubleSpinBox = QtWidgets.QDoubleSpinBox(self.mainimagedata_groupBox)
        self.pixnumT_doubleSpinBox.setGeometry(QtCore.QRect(30, 130, 67, 24))
        self.pixnumT_doubleSpinBox.setAlignment(
            QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter
        )
        self.pixnumT_doubleSpinBox.setDecimals(0)
        self.pixnumT_doubleSpinBox.setObjectName("pixnumT_doubleSpinBox")
        self.label_3 = QtWidgets.QLabel(self.mainimagedata_groupBox)
        self.label_3.setGeometry(QtCore.QRect(10, 135, 16, 16))
        self.label_3.setObjectName("label_3")
        self.TimeSlider = QtWidgets.QSlider(self.mainimagedata_groupBox)
        self.TimeSlider.setGeometry(QtCore.QRect(10, 165, 261, 22))
        self.TimeSlider.setOrientation(QtCore.Qt.Horizontal)
        self.TimeSlider.setObjectName("TimeSlider")
        self.label_10 = QtWidgets.QLabel(self.mainimagedata_groupBox)
        self.label_10.setGeometry(QtCore.QRect(30, 120, 56, 13))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_10.setFont(font)
        self.label_10.setObjectName("label_10")
        self.label_11 = QtWidgets.QLabel(self.mainimagedata_groupBox)
        self.label_11.setGeometry(QtCore.QRect(100, 120, 56, 13))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.label_11.setFont(font)
        self.label_11.setObjectName("label_11")
        self.runMovieButton = QtWidgets.QPushButton(self.mainimagedata_groupBox)
        self.runMovieButton.setGeometry(QtCore.QRect(170, 127, 110, 32))
        self.runMovieButton.setObjectName("runMovieButton")
        self.regressor_groupBox = QtWidgets.QGroupBox(self.centralwidget)
        self.regressor_groupBox.setGeometry(QtCore.QRect(10, 690, 1101, 181))
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.regressor_groupBox.sizePolicy().hasHeightForWidth())
        self.regressor_groupBox.setSizePolicy(sizePolicy)
        self.regressor_groupBox.setMinimumSize(QtCore.QSize(100, 100))
        self.regressor_groupBox.setMaximumSize(QtCore.QSize(1500, 1000))
        self.regressor_groupBox.setObjectName("regressor_groupBox")
        self.regressorspectrum_graphicsView = GraphicsLayoutWidget(self.regressor_groupBox)
        self.regressorspectrum_graphicsView.setGeometry(QtCore.QRect(490, 23, 472, 131))
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.regressorspectrum_graphicsView.sizePolicy().hasHeightForWidth()
        )
        self.regressorspectrum_graphicsView.setSizePolicy(sizePolicy)
        self.regressorspectrum_graphicsView.setMinimumSize(QtCore.QSize(100, 100))
        self.regressorspectrum_graphicsView.setMaximumSize(QtCore.QSize(1000, 1000))
        self.regressorspectrum_graphicsView.setSizeIncrement(QtCore.QSize(1, 1))
        self.regressorspectrum_graphicsView.setObjectName("regressorspectrum_graphicsView")
        self.regressortimecourse_graphicsView = GraphicsLayoutWidget(self.regressor_groupBox)
        self.regressortimecourse_graphicsView.setEnabled(True)
        self.regressortimecourse_graphicsView.setGeometry(QtCore.QRect(10, 23, 472, 131))
        sizePolicy = QtWidgets.QSizePolicy(
            QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Preferred
        )
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.regressortimecourse_graphicsView.sizePolicy().hasHeightForWidth()
        )
        self.regressortimecourse_graphicsView.setSizePolicy(sizePolicy)
        self.regressortimecourse_graphicsView.setMinimumSize(QtCore.QSize(100, 100))
        self.regressortimecourse_graphicsView.setMaximumSize(QtCore.QSize(1000, 1000))
        self.regressortimecourse_graphicsView.setSizeIncrement(QtCore.QSize(1, 1))
        self.regressortimecourse_graphicsView.setObjectName("regressortimecourse_graphicsView")
        self.processingstage_groupBox = QtWidgets.QGroupBox(self.regressor_groupBox)
        self.processingstage_groupBox.setGeometry(QtCore.QRect(979, 14, 120, 151))
        self.processingstage_groupBox.setObjectName("processingstage_groupBox")
        self.verticalLayoutWidget = QtWidgets.QWidget(self.processingstage_groupBox)
        self.verticalLayoutWidget.setGeometry(QtCore.QRect(10, 25, 101, 115))
        self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.prefilt_radioButton = QtWidgets.QRadioButton(self.verticalLayoutWidget)
        self.prefilt_radioButton.setChecked(True)
        self.prefilt_radioButton.setObjectName("prefilt_radioButton")
        self.verticalLayout.addWidget(self.prefilt_radioButton)
        self.postfilt_radioButton = QtWidgets.QRadioButton(self.verticalLayoutWidget)
        self.postfilt_radioButton.setChecked(False)
        self.postfilt_radioButton.setObjectName("postfilt_radioButton")
        self.verticalLayout.addWidget(self.postfilt_radioButton)
        self.pass1_radioButton = QtWidgets.QRadioButton(self.verticalLayoutWidget)
        self.pass1_radioButton.setObjectName("pass1_radioButton")
        self.verticalLayout.addWidget(self.pass1_radioButton)
        self.pass2_radioButton = QtWidgets.QRadioButton(self.verticalLayoutWidget)
        self.pass2_radioButton.setObjectName("pass2_radioButton")
        self.verticalLayout.addWidget(self.pass2_radioButton)
        self.pass3_radioButton = QtWidgets.QRadioButton(self.verticalLayoutWidget)
        self.pass3_radioButton.setObjectName("pass3_radioButton")
        self.verticalLayout.addWidget(self.pass3_radioButton)
        self.pass4_radioButton = QtWidgets.QRadioButton(self.verticalLayoutWidget)
        self.pass4_radioButton.setObjectName("pass4_radioButton")
        self.verticalLayout.addWidget(self.pass4_radioButton)
        self.label_5 = QtWidgets.QLabel(self.regressor_groupBox)
        self.label_5.setGeometry(QtCore.QRect(160, 155, 161, 16))
        self.label_5.setAlignment(QtCore.Qt.AlignCenter)
        self.label_5.setObjectName("label_5")
        self.label_12 = QtWidgets.QLabel(self.regressor_groupBox)
        self.label_12.setGeometry(QtCore.QRect(660, 155, 131, 16))
        self.label_12.setAlignment(QtCore.Qt.AlignCenter)
        self.label_12.setObjectName("label_12")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1129, 22))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.actionQuit = QtWidgets.QAction(MainWindow)
        self.actionQuit.setObjectName("actionQuit")

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.logOutput_groupBox.setTitle(_translate("MainWindow", "Information"))
        self.imageData_groupBox.setTitle(_translate("MainWindow", "Image Data"))
        self.label.setText(
            _translate(
                "MainWindow",
                "Click in image to position ROI.  Drag right or left to increase or decrease the ROI size",
            )
        )
        self.resetDispLimits_Button.setText(_translate("MainWindow", "Full Range"))
        self.resetDispSmart_Button.setText(_translate("MainWindow", "Smart"))
        self.saveDisp_Button.setText(_translate("MainWindow", "Save"))
        self.setMask_Button.setText(_translate("MainWindow", "No mask"))
        self.label_2.setText(_translate("MainWindow", "Colormap"))
        self.gray_radioButton.setText(_translate("MainWindow", "Gray"))
        self.thermal_radioButton.setText(_translate("MainWindow", "Thermal"))
        self.GYR_radioButton.setText(_translate("MainWindow", "GYR"))
        self.rainbow_radioButton.setText(_translate("MainWindow", "Rainbow"))
        self.viridis_radioButton.setText(_translate("MainWindow", "Viridis"))
        self.jet_radioButton.setText(_translate("MainWindow", "Jet"))
        self.summary_Label.setText(_translate("MainWindow", "Region summaries"))
        self.raw_radioButton.setText(_translate("MainWindow", "Raw data"))
        self.mean_radioButton.setText(_translate("MainWindow", "Mean"))
        self.median_radioButton.setText(_translate("MainWindow", "Median"))
        self.robustmean_radioButton.setText(_translate("MainWindow", "Robust mean"))
        self.std_radioButton.setText(_translate("MainWindow", "Std dev"))
        self.MAD_radioButton.setText(_translate("MainWindow", "MAD"))
        self.overlays_groupBox.setTitle(_translate("MainWindow", "Overlays"))
        self.overlay_radioButton_05.setText(_translate("MainWindow", "Mask"))
        self.overlay_radioButton_01.setText(_translate("MainWindow", "Lag times"))
        self.overlay_radioButton_02.setText(_translate("MainWindow", "Correlation strength"))
        self.overlay_radioButton_03.setText(_translate("MainWindow", "MTT"))
        self.overlay_radioButton_04.setText(_translate("MainWindow", "R2"))
        self.corrout_radioButton.setText(_translate("MainWindow", "Correlation function"))
        self.overlay_radioButton_06.setText(_translate("MainWindow", "Mask"))
        self.overlay_radioButton_07.setText(_translate("MainWindow", "Mask"))
        self.overlay_radioButton_08.setText(_translate("MainWindow", "Mask"))
        self.histogram_groupBox.setTitle(_translate("MainWindow", "Overlay Histogram"))
        self.mainimagedata_groupBox.setTitle(_translate("MainWindow", "Location"))
        self.label_4.setText(_translate("MainWindow", "X"))
        self.label_7.setText(_translate("MainWindow", "Voxel"))
        self.label_9.setText(_translate("MainWindow", "mm"))
        self.label_6.setText(_translate("MainWindow", "Y"))
        self.label_8.setText(_translate("MainWindow", "Z"))
        self.label_3.setText(_translate("MainWindow", "T"))
        self.label_10.setText(_translate("MainWindow", "Timepoint"))
        self.label_11.setText(_translate("MainWindow", "seconds"))
        self.runMovieButton.setText(_translate("MainWindow", "Start Movie"))
        self.regressor_groupBox.setTitle(_translate("MainWindow", "Probe regressor"))
        self.processingstage_groupBox.setTitle(_translate("MainWindow", "Processing stage"))
        self.prefilt_radioButton.setText(_translate("MainWindow", "Prefilt"))
        self.postfilt_radioButton.setText(_translate("MainWindow", "Postfilt"))
        self.pass1_radioButton.setText(_translate("MainWindow", "Pass 1"))
        self.pass2_radioButton.setText(_translate("MainWindow", "Pass 2"))
        self.pass3_radioButton.setText(_translate("MainWindow", "Pass 3"))
        self.pass4_radioButton.setText(_translate("MainWindow", "Pass 4"))
        self.label_5.setText(_translate("MainWindow", "Timecourse (seconds)"))
        self.label_12.setText(_translate("MainWindow", "Power spectrum (Hz)"))
        self.actionQuit.setText(_translate("MainWindow", "Quit"))
예제 #7
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(1472, 964)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.gridLayout_10 = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10"))
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.widget_2 = QtGui.QWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.widget_2.sizePolicy().hasHeightForWidth())
        self.widget_2.setSizePolicy(sizePolicy)
        self.widget_2.setMinimumSize(QtCore.QSize(0, 845))
        self.widget_2.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.widget_2.setObjectName(_fromUtf8("widget_2"))
        self.gridLayout_12 = QtGui.QGridLayout(self.widget_2)
        self.gridLayout_12.setSizeConstraint(QtGui.QLayout.SetFixedSize)
        self.gridLayout_12.setObjectName(_fromUtf8("gridLayout_12"))
        self.groupBox = QtGui.QGroupBox(self.widget_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setMinimumSize(QtCore.QSize(300, 0))
        self.groupBox.setMaximumSize(QtCore.QSize(300, 461))
        self.groupBox.setFlat(False)
        self.groupBox.setCheckable(False)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.ExperimentTabWidget = QtGui.QTabWidget(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ExperimentTabWidget.sizePolicy().hasHeightForWidth())
        self.ExperimentTabWidget.setSizePolicy(sizePolicy)
        self.ExperimentTabWidget.setObjectName(_fromUtf8("ExperimentTabWidget"))
        self.SSX = QtGui.QWidget()
        self.SSX.setObjectName(_fromUtf8("SSX"))
        self.gridLayout = QtGui.QGridLayout(self.SSX)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(self.SSX)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.RootSSX = QtGui.QLineEdit(self.SSX)
        self.RootSSX.setObjectName(_fromUtf8("RootSSX"))
        self.gridLayout.addWidget(self.RootSSX, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(self.SSX)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.FileExtensionSSX = QtGui.QLineEdit(self.SSX)
        self.FileExtensionSSX.setObjectName(_fromUtf8("FileExtensionSSX"))
        self.gridLayout.addWidget(self.FileExtensionSSX, 1, 1, 1, 1)
        self.ExperimentTabWidget.addTab(self.SSX, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.ExperimentTabWidget)
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.DataPathBut = QtGui.QPushButton(self.groupBox)
        self.DataPathBut.setObjectName(_fromUtf8("DataPathBut"))
        self.gridLayout_2.addWidget(self.DataPathBut, 0, 0, 1, 1)
        self.DataPath = QtGui.QLineEdit(self.groupBox)
        self.DataPath.setObjectName(_fromUtf8("DataPath"))
        self.gridLayout_2.addWidget(self.DataPath, 0, 1, 1, 1)
        self.ResPathBut = QtGui.QPushButton(self.groupBox)
        self.ResPathBut.setObjectName(_fromUtf8("ResPathBut"))
        self.gridLayout_2.addWidget(self.ResPathBut, 1, 0, 1, 1)
        self.ResultsPath = QtGui.QLineEdit(self.groupBox)
        self.ResultsPath.setText(_fromUtf8(""))
        self.ResultsPath.setObjectName(_fromUtf8("ResultsPath"))
        self.gridLayout_2.addWidget(self.ResultsPath, 1, 1, 1, 1)
        self.DarkPathBut = QtGui.QPushButton(self.groupBox)
        self.DarkPathBut.setObjectName(_fromUtf8("DarkPathBut"))
        self.gridLayout_2.addWidget(self.DarkPathBut, 2, 0, 1, 1)
        self.DarkPath = QtGui.QLineEdit(self.groupBox)
        self.DarkPath.setObjectName(_fromUtf8("DarkPath"))
        self.gridLayout_2.addWidget(self.DarkPath, 2, 1, 1, 1)
        self.MaskPathBut = QtGui.QPushButton(self.groupBox)
        self.MaskPathBut.setObjectName(_fromUtf8("MaskPathBut"))
        self.gridLayout_2.addWidget(self.MaskPathBut, 3, 0, 1, 1)
        self.MaskPath = QtGui.QLineEdit(self.groupBox)
        self.MaskPath.setObjectName(_fromUtf8("MaskPath"))
        self.gridLayout_2.addWidget(self.MaskPath, 3, 1, 1, 1)
        self.label_8 = QtGui.QLabel(self.groupBox)
        self.label_8.setAlignment(QtCore.Qt.AlignCenter)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout_2.addWidget(self.label_8, 4, 0, 1, 1)
        self.cpus = QtGui.QLineEdit(self.groupBox)
        self.cpus.setObjectName(_fromUtf8("cpus"))
        self.gridLayout_2.addWidget(self.cpus, 4, 1, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout_2)
        self.line_2 = QtGui.QFrame(self.groupBox)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.verticalLayout_2.addWidget(self.line_2)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label_18 = QtGui.QLabel(self.groupBox)
        self.label_18.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignHCenter)
        self.label_18.setObjectName(_fromUtf8("label_18"))
        self.verticalLayout.addWidget(self.label_18)
        self.line = QtGui.QFrame(self.groupBox)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.verticalLayout.addWidget(self.line)
        self.hdf5out = QtGui.QCheckBox(self.groupBox)
        self.hdf5out.setObjectName(_fromUtf8("hdf5out"))
        self.verticalLayout.addWidget(self.hdf5out)
        self.cctbxout = QtGui.QCheckBox(self.groupBox)
        self.cctbxout.setObjectName(_fromUtf8("cctbxout"))
        self.verticalLayout.addWidget(self.cctbxout)
        self.cbfout = QtGui.QCheckBox(self.groupBox)
        self.cbfout.setObjectName(_fromUtf8("cbfout"))
        self.verticalLayout.addWidget(self.cbfout)
        self.verticalLayout_2.addLayout(self.verticalLayout)
        self.verticalLayout_2.setStretch(0, 1)
        self.verticalLayout_2.setStretch(1, 1)
        self.verticalLayout_2.setStretch(2, 1)
        self.verticalLayout_2.setStretch(3, 1)
        self.gridLayout_12.addWidget(self.groupBox, 0, 0, 1, 1)
        self.groupBox_2 = QtGui.QGroupBox(self.widget_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setMinimumSize(QtCore.QSize(300, 0))
        self.groupBox_2.setMaximumSize(QtCore.QSize(300, 16777215))
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.label_4 = QtGui.QLabel(self.groupBox_2)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_3.addWidget(self.label_4, 1, 0, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox_2)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_3.addWidget(self.label_3, 0, 0, 1, 1)
        self.Threshold = QtGui.QLineEdit(self.groupBox_2)
        self.Threshold.setObjectName(_fromUtf8("Threshold"))
        self.gridLayout_3.addWidget(self.Threshold, 0, 1, 1, 1)
        self.Npixels = QtGui.QLineEdit(self.groupBox_2)
        self.Npixels.setObjectName(_fromUtf8("Npixels"))
        self.gridLayout_3.addWidget(self.Npixels, 1, 1, 1, 1)
        self.BraggThreshold = QtGui.QLineEdit(self.groupBox_2)
        self.BraggThreshold.setObjectName(_fromUtf8("BraggThreshold"))
        self.gridLayout_3.addWidget(self.BraggThreshold, 3, 1, 1, 1)
        self.label_6 = QtGui.QLabel(self.groupBox_2)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_3.addWidget(self.label_6, 3, 0, 1, 1)
        self.FindBragg = QtGui.QComboBox(self.groupBox_2)
        self.FindBragg.setObjectName(_fromUtf8("FindBragg"))
        self.FindBragg.addItem(_fromUtf8(""))
        self.FindBragg.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.FindBragg, 2, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.groupBox_2)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_3.addWidget(self.label_5, 2, 0, 1, 1)
        self.verticalLayout_4.addLayout(self.gridLayout_3)
        self.gridLayout_12.addWidget(self.groupBox_2, 1, 0, 1, 1)
        self.groupBox_3 = QtGui.QGroupBox(self.widget_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_3.sizePolicy().hasHeightForWidth())
        self.groupBox_3.setSizePolicy(sizePolicy)
        self.groupBox_3.setMinimumSize(QtCore.QSize(300, 0))
        self.groupBox_3.setMaximumSize(QtCore.QSize(300, 16777215))
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.gridLayout_6 = QtGui.QGridLayout()
        self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
        self.label_13 = QtGui.QLabel(self.groupBox_3)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.gridLayout_6.addWidget(self.label_13, 0, 0, 1, 1)
        self.Detector = QtGui.QComboBox(self.groupBox_3)
        self.Detector.setObjectName(_fromUtf8("Detector"))
        self.Detector.addItem(_fromUtf8(""))
        self.Detector.addItem(_fromUtf8(""))
        self.Detector.addItem(_fromUtf8(""))
        self.Detector.addItem(_fromUtf8(""))
        self.Detector.addItem(_fromUtf8(""))
        self.Detector.addItem(_fromUtf8(""))
        self.Detector.addItem(_fromUtf8(""))
        self.gridLayout_6.addWidget(self.Detector, 0, 1, 1, 1)
        self.label_14 = QtGui.QLabel(self.groupBox_3)
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.gridLayout_6.addWidget(self.label_14, 1, 0, 1, 1)
        self.Wavelength = QtGui.QLineEdit(self.groupBox_3)
        self.Wavelength.setObjectName(_fromUtf8("Wavelength"))
        self.gridLayout_6.addWidget(self.Wavelength, 1, 1, 1, 1)
        self.label_15 = QtGui.QLabel(self.groupBox_3)
        self.label_15.setObjectName(_fromUtf8("label_15"))
        self.gridLayout_6.addWidget(self.label_15, 2, 0, 1, 1)
        self.distance = QtGui.QLineEdit(self.groupBox_3)
        self.distance.setObjectName(_fromUtf8("distance"))
        self.gridLayout_6.addWidget(self.distance, 2, 1, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_16 = QtGui.QLabel(self.groupBox_3)
        self.label_16.setObjectName(_fromUtf8("label_16"))
        self.horizontalLayout.addWidget(self.label_16)
        self.beamX = QtGui.QLineEdit(self.groupBox_3)
        self.beamX.setObjectName(_fromUtf8("beamX"))
        self.horizontalLayout.addWidget(self.beamX)
        self.label_17 = QtGui.QLabel(self.groupBox_3)
        self.label_17.setObjectName(_fromUtf8("label_17"))
        self.horizontalLayout.addWidget(self.label_17)
        self.beamY = QtGui.QLineEdit(self.groupBox_3)
        self.beamY.setText(_fromUtf8(""))
        self.beamY.setObjectName(_fromUtf8("beamY"))
        self.horizontalLayout.addWidget(self.beamY)
        self.gridLayout_6.addLayout(self.horizontalLayout, 3, 0, 1, 2)
        self.verticalLayout_5.addLayout(self.gridLayout_6)
        self.widget = QtGui.QWidget(self.groupBox_3)
        self.widget.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setMinimumSize(QtCore.QSize(300, 0))
        self.widget.setObjectName(_fromUtf8("widget"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.widget)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.PlayButton_2 = QtGui.QPushButton(self.widget)
        self.PlayButton_2.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.PlayButton_2.sizePolicy().hasHeightForWidth())
        self.PlayButton_2.setSizePolicy(sizePolicy)
        self.PlayButton_2.setMinimumSize(QtCore.QSize(100, 32))
        self.PlayButton_2.setMaximumSize(QtCore.QSize(100, 32))
        self.PlayButton_2.setObjectName(_fromUtf8("PlayButton_2"))
        self.horizontalLayout_2.addWidget(self.PlayButton_2)
        self.FindBraggsButton = QtGui.QPushButton(self.widget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.FindBraggsButton.sizePolicy().hasHeightForWidth())
        self.FindBraggsButton.setSizePolicy(sizePolicy)
        self.FindBraggsButton.setMinimumSize(QtCore.QSize(100, 32))
        self.FindBraggsButton.setMaximumSize(QtCore.QSize(100, 32))
        self.FindBraggsButton.setObjectName(_fromUtf8("FindBraggsButton"))
        self.horizontalLayout_2.addWidget(self.FindBraggsButton)
        self.FindBraggsButton.raise_()
        self.PlayButton_2.raise_()
        self.verticalLayout_5.addWidget(self.widget)
        self.gridLayout_12.addWidget(self.groupBox_3, 2, 0, 1, 1)
        self.horizontalLayout_8.addWidget(self.widget_2)
        self.graphicsView = GraphicsLayoutWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.graphicsView.sizePolicy().hasHeightForWidth())
        self.graphicsView.setSizePolicy(sizePolicy)
        self.graphicsView.setMinimumSize(QtCore.QSize(800, 800))
        self.graphicsView.setSizeIncrement(QtCore.QSize(1, 1))
        self.graphicsView.setAcceptDrops(False)
        self.graphicsView.setObjectName(_fromUtf8("graphicsView"))
        self.horizontalLayout_8.addWidget(self.graphicsView)
        self.verticalLayout_8 = QtGui.QVBoxLayout()
        self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8"))
        self.groupBox_4 = QtGui.QGroupBox(self.centralwidget)
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout(self.groupBox_4)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.Boost = QtGui.QLineEdit(self.groupBox_4)
        self.Boost.setObjectName(_fromUtf8("Boost"))
        self.gridLayout_4.addWidget(self.Boost, 0, 1, 1, 1)
        self.ColorMap = QtGui.QComboBox(self.groupBox_4)
        self.ColorMap.setObjectName(_fromUtf8("ColorMap"))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.ColorMap.addItem(_fromUtf8(""))
        self.gridLayout_4.addWidget(self.ColorMap, 3, 1, 1, 1)
        self.Min = QtGui.QLineEdit(self.groupBox_4)
        self.Min.setObjectName(_fromUtf8("Min"))
        self.gridLayout_4.addWidget(self.Min, 1, 1, 1, 1)
        self.label_9 = QtGui.QLabel(self.groupBox_4)
        self.label_9.setAlignment(QtCore.Qt.AlignCenter)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridLayout_4.addWidget(self.label_9, 2, 0, 1, 1)
        self.label_11 = QtGui.QLabel(self.groupBox_4)
        self.label_11.setAlignment(QtCore.Qt.AlignCenter)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.gridLayout_4.addWidget(self.label_11, 1, 0, 1, 1)
        self.label_12 = QtGui.QLabel(self.groupBox_4)
        self.label_12.setAlignment(QtCore.Qt.AlignCenter)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.gridLayout_4.addWidget(self.label_12, 3, 0, 1, 1)
        self.Max = QtGui.QLineEdit(self.groupBox_4)
        self.Max.setObjectName(_fromUtf8("Max"))
        self.gridLayout_4.addWidget(self.Max, 2, 1, 1, 1)
        self.label_10 = QtGui.QLabel(self.groupBox_4)
        self.label_10.setAlignment(QtCore.Qt.AlignCenter)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.gridLayout_4.addWidget(self.label_10, 0, 0, 1, 1)
        self.horizontalLayout_6.addLayout(self.gridLayout_4)
        self.verticalLayout_8.addWidget(self.groupBox_4)
        self.groupBox_5 = QtGui.QGroupBox(self.centralwidget)
        self.groupBox_5.setMinimumSize(QtCore.QSize(300, 0))
        self.groupBox_5.setMaximumSize(QtCore.QSize(300, 16777215))
        self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.groupBox_5)
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.treeWidget = TestListView(self.groupBox_5)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.treeWidget.sizePolicy().hasHeightForWidth())
        self.treeWidget.setSizePolicy(sizePolicy)
        self.treeWidget.setMinimumSize(QtCore.QSize(274, 587))
        self.treeWidget.setMaximumSize(QtCore.QSize(274, 16777215))
        self.treeWidget.setAcceptDrops(True)
        self.treeWidget.setDragDropMode(QtGui.QAbstractItemView.DragDrop)
        self.treeWidget.setDefaultDropAction(QtCore.Qt.CopyAction)
        self.treeWidget.setAlternatingRowColors(False)
        self.treeWidget.setIndentation(20)
        self.treeWidget.setUniformRowHeights(True)
        self.treeWidget.setObjectName(_fromUtf8("treeWidget"))
        self.verticalLayout_7.addWidget(self.treeWidget)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.LoadResultsBut = QtGui.QPushButton(self.groupBox_5)
        self.LoadResultsBut.setObjectName(_fromUtf8("LoadResultsBut"))
        self.horizontalLayout_7.addWidget(self.LoadResultsBut)
        self.PlayButton = QtGui.QPushButton(self.groupBox_5)
        self.PlayButton.setObjectName(_fromUtf8("PlayButton"))
        self.horizontalLayout_7.addWidget(self.PlayButton)
        self.StopButton = QtGui.QPushButton(self.groupBox_5)
        self.StopButton.setObjectName(_fromUtf8("StopButton"))
        self.horizontalLayout_7.addWidget(self.StopButton)
        self.verticalLayout_7.addLayout(self.horizontalLayout_7)
        self.verticalLayout_8.addWidget(self.groupBox_5)
        self.horizontalLayout_8.addLayout(self.verticalLayout_8)
        self.gridLayout_10.addLayout(self.horizontalLayout_8, 0, 0, 1, 1)
        self.Log = QtGui.QPlainTextEdit(self.centralwidget)
        self.Log.setMaximumSize(QtCore.QSize(1500, 40))
        self.Log.setObjectName(_fromUtf8("Log"))
        self.gridLayout_10.addWidget(self.Log, 1, 0, 1, 1)
        self.Log.raise_()
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1472, 22))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        self.menuEdit = QtGui.QMenu(self.menubar)
        self.menuEdit.setObjectName(_fromUtf8("menuEdit"))
        self.menuOptions = QtGui.QMenu(self.menubar)
        self.menuOptions.setObjectName(_fromUtf8("menuOptions"))
        self.menuBragg_Peaks_Form = QtGui.QMenu(self.menuOptions)
        self.menuBragg_Peaks_Form.setObjectName(_fromUtf8("menuBragg_Peaks_Form"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.actionLoad_Images = QtGui.QAction(MainWindow)
        self.actionLoad_Images.setObjectName(_fromUtf8("actionLoad_Images"))
        self.actionLoad_Geometry = QtGui.QAction(MainWindow)
        self.actionLoad_Geometry.setObjectName(_fromUtf8("actionLoad_Geometry"))
        self.actionClose = QtGui.QAction(MainWindow)
        self.actionClose.setObjectName(_fromUtf8("actionClose"))
        self.actionShow_Beam_Center = QtGui.QAction(MainWindow)
        self.actionShow_Beam_Center.setObjectName(_fromUtf8("actionShow_Beam_Center"))
        self.actionShow_resolution_rings = QtGui.QAction(MainWindow)
        self.actionShow_resolution_rings.setObjectName(_fromUtf8("actionShow_resolution_rings"))
        self.actionShow_Bragg_Peaks = QtGui.QAction(MainWindow)
        self.actionShow_Bragg_Peaks.setObjectName(_fromUtf8("actionShow_Bragg_Peaks"))
        self.actionBragg_Peaks_Size = QtGui.QAction(MainWindow)
        self.actionBragg_Peaks_Size.setObjectName(_fromUtf8("actionBragg_Peaks_Size"))
        self.actionRings = QtGui.QAction(MainWindow)
        self.actionRings.setObjectName(_fromUtf8("actionRings"))
        self.actionSquare = QtGui.QAction(MainWindow)
        self.actionSquare.setObjectName(_fromUtf8("actionSquare"))
        self.menuFile.addAction(self.actionLoad_Images)
        self.menuFile.addAction(self.actionLoad_Geometry)
        self.menuFile.addAction(self.actionClose)
        self.menuBragg_Peaks_Form.addAction(self.actionRings)
        self.menuBragg_Peaks_Form.addAction(self.actionSquare)
        self.menuOptions.addAction(self.actionShow_Beam_Center)
        self.menuOptions.addAction(self.actionShow_resolution_rings)
        self.menuOptions.addAction(self.actionShow_Bragg_Peaks)
        self.menuOptions.addAction(self.actionBragg_Peaks_Size)
        self.menuOptions.addAction(self.menuBragg_Peaks_Form.menuAction())
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuEdit.menuAction())
        self.menubar.addAction(self.menuOptions.menuAction())

        self.retranslateUi(MainWindow)
        self.ExperimentTabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
        self.groupBox.setTitle(_translate("MainWindow", "General Parameters", None))
        self.label.setText(_translate("MainWindow", "Filename root", None))
        self.label_2.setText(_translate("MainWindow", "File extension", None))
        self.ExperimentTabWidget.setTabText(self.ExperimentTabWidget.indexOf(self.SSX), _translate("MainWindow", "SSX", None))
        self.DataPathBut.setText(_translate("MainWindow", "Data", None))
        self.ResPathBut.setText(_translate("MainWindow", "Results", None))
        self.DarkPathBut.setText(_translate("MainWindow", "Dark", None))
        self.MaskPathBut.setText(_translate("MainWindow", "Mask", None))
        self.label_8.setText(_translate("MainWindow", "# Cpus", None))
        self.label_18.setText(_translate("MainWindow", "Output Formats", None))
        self.hdf5out.setText(_translate("MainWindow", "h5 crystFEL format", None))
        self.cctbxout.setText(_translate("MainWindow", "cctbx.xfel pickle format", None))
        self.cbfout.setText(_translate("MainWindow", "nXDS cbf format", None))
        self.groupBox_2.setTitle(_translate("MainWindow", "HitFinder Parameters", None))
        self.label_4.setText(_translate("MainWindow", "Min Number of pixels", None))
        self.label_3.setText(_translate("MainWindow", "Threshold", None))
        self.label_6.setText(_translate("MainWindow", "Bragg Threshold", None))
        self.FindBragg.setItemText(0, _translate("MainWindow", "True", None))
        self.FindBragg.setItemText(1, _translate("MainWindow", "False", None))
        self.label_5.setText(_translate("MainWindow", "Find Bragg Peaks", None))
        self.groupBox_3.setTitle(_translate("MainWindow", "Experimental Parameters", None))
        self.label_13.setText(_translate("MainWindow", "Detector", None))
        self.Detector.setItemText(0, _translate("MainWindow", "Pilatus1M", None))
        self.Detector.setItemText(1, _translate("MainWindow", "Pilatus2M", None))
        self.Detector.setItemText(2, _translate("MainWindow", "Pilatus6M", None))
        self.Detector.setItemText(3, _translate("MainWindow", "EIger1M", None))
        self.Detector.setItemText(4, _translate("MainWindow", "Eiger4M", None))
        self.Detector.setItemText(5, _translate("MainWindow", "MPCCD", None))
        self.Detector.setItemText(6, _translate("MainWindow", "CSPAD", None))
        self.label_14.setText(_translate("MainWindow", "Wavelength (A)", None))
        self.label_15.setText(_translate("MainWindow", "Detector distance (mm)", None))
        self.label_16.setText(_translate("MainWindow", "Beam Center X", None))
        self.label_17.setText(_translate("MainWindow", "Y", None))
        self.PlayButton_2.setText(_translate("MainWindow", "Find Hits", None))
        self.FindBraggsButton.setText(_translate("MainWindow", "Find Braggs", None))
        self.groupBox_4.setTitle(_translate("MainWindow", "Viewer Settings", None))
        self.Boost.setText(_translate("MainWindow", "1", None))
        self.ColorMap.setItemText(0, _translate("MainWindow", "Hot", None))
        self.ColorMap.setItemText(1, _translate("MainWindow", "Gray", None))
        self.ColorMap.setItemText(2, _translate("MainWindow", "Gray_r", None))
        self.ColorMap.setItemText(3, _translate("MainWindow", "YGB_r", None))
        self.ColorMap.setItemText(4, _translate("MainWindow", "Blues", None))
        self.ColorMap.setItemText(5, _translate("MainWindow", "Blues_r", None))
        self.ColorMap.setItemText(6, _translate("MainWindow", "Reds", None))
        self.ColorMap.setItemText(7, _translate("MainWindow", "Reds_r", None))
        self.ColorMap.setItemText(8, _translate("MainWindow", "Jet", None))
        self.ColorMap.setItemText(9, _translate("MainWindow", "Spectral", None))
        self.ColorMap.setItemText(10, _translate("MainWindow", "Spectral_r", None))
        self.Min.setText(_translate("MainWindow", "0", None))
        self.label_9.setText(_translate("MainWindow", "Max Value", None))
        self.label_11.setText(_translate("MainWindow", "Min Value", None))
        self.label_12.setText(_translate("MainWindow", "Color maps", None))
        self.Max.setText(_translate("MainWindow", "10", None))
        self.label_10.setText(_translate("MainWindow", "Intensity Boost", None))
        self.groupBox_5.setTitle(_translate("MainWindow", "Results", None))
        self.treeWidget.headerItem().setText(0, _translate("MainWindow", "Filename", None))
        self.treeWidget.headerItem().setText(1, _translate("MainWindow", "# Frames", None))
        self.LoadResultsBut.setText(_translate("MainWindow", "Load Images...", None))
        self.PlayButton.setText(_translate("MainWindow", "Play", None))
        self.StopButton.setText(_translate("MainWindow", "Stop", None))
        self.menuFile.setTitle(_translate("MainWindow", "File", None))
        self.menuEdit.setTitle(_translate("MainWindow", "Edit", None))
        self.menuOptions.setTitle(_translate("MainWindow", "Options", None))
        self.menuBragg_Peaks_Form.setTitle(_translate("MainWindow", "Bragg Peaks Form", None))
        self.actionLoad_Images.setText(_translate("MainWindow", "Load Images", None))
        self.actionLoad_Geometry.setText(_translate("MainWindow", "Load geometry", None))
        self.actionClose.setText(_translate("MainWindow", "Close", None))
        self.actionShow_Beam_Center.setText(_translate("MainWindow", "Show Beam Center", None))
        self.actionShow_resolution_rings.setText(_translate("MainWindow", "Show resolution rings", None))
        self.actionShow_Bragg_Peaks.setText(_translate("MainWindow", "Show Bragg Peaks", None))
        self.actionBragg_Peaks_Size.setText(_translate("MainWindow", "Bragg Peaks Size", None))
        self.actionRings.setText(_translate("MainWindow", "Rings", None))
        self.actionSquare.setText(_translate("MainWindow", "Square", None))