# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'd:\Google Drive\GitHub\TSA_software\tsa.ui'
#
# Created by: PyQt5 UI code generator 5.15.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1700, 994)
        MainWindow.setToolButtonStyle(QtCore.Qt.ToolButtonIconOnly)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
        self.tabWidget.setGeometry(QtCore.QRect(20, 100, 1661, 801))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.tabWidget.setFont(font)
        self.tabWidget.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.tabWidget.setTabPosition(QtWidgets.QTabWidget.North)
        self.tabWidget.setTabShape(QtWidgets.QTabWidget.Rounded)
        self.tabWidget.setIconSize(QtCore.QSize(20, 20))
        self.tabWidget.setObjectName("tabWidget")
        self.import_video = QtWidgets.QWidget()
        self.import_video.setObjectName("import_video")
        self.importvideo_box = QtWidgets.QGroupBox(self.import_video)
        self.importvideo_box.setGeometry(QtCore.QRect(10, 30, 341, 231))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.importvideo_box.setFont(font)
        self.importvideo_box.setObjectName("importvideo_box")
        self.open_button = QtWidgets.QPushButton(self.importvideo_box)
        self.open_button.setGeometry(QtCore.QRect(240, 110, 81, 101))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.open_button.setFont(font)
        self.open_button.setDefault(False)
        self.open_button.setObjectName("open_button")
        self.width_text = QtWidgets.QTextBrowser(self.importvideo_box)
        self.width_text.setGeometry(QtCore.QRect(120, 110, 101, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.width_text.setFont(font)
        self.width_text.setStyleSheet("background-color: rgba(0, 0, 255, 50);")
        self.width_text.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.width_text.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.width_text.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.width_text.setObjectName("width_text")
        self.height_text = QtWidgets.QTextBrowser(self.importvideo_box)
        self.height_text.setGeometry(QtCore.QRect(120, 150, 101, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.height_text.setFont(font)
        self.height_text.setStyleSheet("background-color: rgba(0, 0, 255, 50);")
        self.height_text.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.height_text.setFrameShadow(QtWidgets.QFrame.Raised)
        self.height_text.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.height_text.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.height_text.setObjectName("height_text")
        self.frame_text = QtWidgets.QTextBrowser(self.importvideo_box)
        self.frame_text.setGeometry(QtCore.QRect(120, 190, 101, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.frame_text.setFont(font)
        self.frame_text.setStyleSheet("background-color: rgba(0, 0, 255, 50);")
        self.frame_text.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.frame_text.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.frame_text.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.frame_text.setObjectName("frame_text")
        self.label_6 = QtWidgets.QLabel(self.importvideo_box)
        self.label_6.setGeometry(QtCore.QRect(0, 110, 111, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_6.setFont(font)
        self.label_6.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_6.setObjectName("label_6")
        self.label_7 = QtWidgets.QLabel(self.importvideo_box)
        self.label_7.setGeometry(QtCore.QRect(0, 150, 111, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_7.setFont(font)
        self.label_7.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_7.setObjectName("label_7")
        self.label_9 = QtWidgets.QLabel(self.importvideo_box)
        self.label_9.setGeometry(QtCore.QRect(30, 190, 81, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_9.setFont(font)
        self.label_9.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label_9.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_9.setObjectName("label_9")
        self.verification_video = QtWidgets.QLabel(self.importvideo_box)
        self.verification_video.setGeometry(QtCore.QRect(320, 0, 20, 20))
        self.verification_video.setAutoFillBackground(False)
        self.verification_video.setText("")
        self.verification_video.setScaledContents(True)
        self.verification_video.setAlignment(QtCore.Qt.AlignCenter)
        self.verification_video.setObjectName("verification_video")
        self.progress_filter = QtWidgets.QProgressBar(self.importvideo_box)
        self.progress_filter.setGeometry(QtCore.QRect(200, 35, 121, 20))
        self.progress_filter.setProperty("value", 0)
        self.progress_filter.setTextVisible(True)
        self.progress_filter.setObjectName("progress_filter")
        self.line = QtWidgets.QFrame(self.importvideo_box)
        self.line.setGeometry(QtCore.QRect(10, 70, 321, 20))
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.median_filter = QtWidgets.QCheckBox(self.importvideo_box)
        self.median_filter.setGeometry(QtCore.QRect(10, 35, 171, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.median_filter.setFont(font)
        self.median_filter.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.median_filter.setChecked(False)
        self.median_filter.setObjectName("median_filter")
        self.param_box = QtWidgets.QGroupBox(self.import_video)
        self.param_box.setGeometry(QtCore.QRect(10, 270, 341, 151))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.param_box.setFont(font)
        self.param_box.setObjectName("param_box")
        self.verification_param = QtWidgets.QLabel(self.param_box)
        self.verification_param.setGeometry(QtCore.QRect(320, 0, 20, 20))
        self.verification_param.setAutoFillBackground(False)
        self.verification_param.setText("")
        self.verification_param.setScaledContents(True)
        self.verification_param.setAlignment(QtCore.Qt.AlignCenter)
        self.verification_param.setObjectName("verification_param")
        self.set_button = QtWidgets.QPushButton(self.param_box)
        self.set_button.setGeometry(QtCore.QRect(240, 30, 81, 101))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.set_button.setFont(font)
        self.set_button.setObjectName("set_button")
        self.groupBox_8 = QtWidgets.QGroupBox(self.param_box)
        self.groupBox_8.setGeometry(QtCore.QRect(10, 30, 221, 101))
        self.groupBox_8.setTitle("")
        self.groupBox_8.setObjectName("groupBox_8")
        self.sampling_freq = QtWidgets.QLineEdit(self.groupBox_8)
        self.sampling_freq.setGeometry(QtCore.QRect(150, 10, 61, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.sampling_freq.setFont(font)
        self.sampling_freq.setObjectName("sampling_freq")
        self.label_19 = QtWidgets.QLabel(self.groupBox_8)
        self.label_19.setGeometry(QtCore.QRect(10, 10, 131, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_19.setFont(font)
        self.label_19.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label_19.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_19.setObjectName("label_19")
        self.label_14 = QtWidgets.QLabel(self.groupBox_8)
        self.label_14.setGeometry(QtCore.QRect(20, 40, 121, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_14.setFont(font)
        self.label_14.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label_14.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_14.setObjectName("label_14")
        self.load_freq = QtWidgets.QLineEdit(self.groupBox_8)
        self.load_freq.setGeometry(QtCore.QRect(150, 40, 61, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.load_freq.setFont(font)
        self.load_freq.setObjectName("load_freq")
        self.auto_freq = QtWidgets.QPushButton(self.groupBox_8)
        self.auto_freq.setGeometry(QtCore.QRect(20, 70, 191, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setItalic(True)
        font.setWeight(50)
        self.auto_freq.setFont(font)
        self.auto_freq.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
        self.auto_freq.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.auto_freq.setAcceptDrops(False)
        self.auto_freq.setCheckable(False)
        self.auto_freq.setAutoDefault(False)
        self.auto_freq.setDefault(False)
        self.auto_freq.setFlat(False)
        self.auto_freq.setObjectName("auto_freq")
        self.ROI_box = QtWidgets.QGroupBox(self.import_video)
        self.ROI_box.setGeometry(QtCore.QRect(10, 430, 341, 251))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.ROI_box.setFont(font)
        self.ROI_box.setObjectName("ROI_box")
        self.enable_ROI = QtWidgets.QPushButton(self.ROI_box)
        self.enable_ROI.setGeometry(QtCore.QRect(10, 30, 321, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setItalic(True)
        font.setWeight(50)
        self.enable_ROI.setFont(font)
        self.enable_ROI.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
        self.enable_ROI.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.enable_ROI.setAcceptDrops(False)
        self.enable_ROI.setCheckable(False)
        self.enable_ROI.setAutoDefault(False)
        self.enable_ROI.setDefault(False)
        self.enable_ROI.setFlat(False)
        self.enable_ROI.setObjectName("enable_ROI")
        self.verification_ROI = QtWidgets.QLabel(self.ROI_box)
        self.verification_ROI.setGeometry(QtCore.QRect(320, 0, 20, 20))
        self.verification_ROI.setAutoFillBackground(False)
        self.verification_ROI.setText("")
        self.verification_ROI.setScaledContents(True)
        self.verification_ROI.setAlignment(QtCore.Qt.AlignCenter)
        self.verification_ROI.setObjectName("verification_ROI")
        self.crop_box = QtWidgets.QGroupBox(self.ROI_box)
        self.crop_box.setGeometry(QtCore.QRect(10, 70, 321, 171))
        self.crop_box.setTitle("")
        self.crop_box.setObjectName("crop_box")
        self.accept = QtWidgets.QPushButton(self.crop_box)
        self.accept.setGeometry(QtCore.QRect(170, 120, 131, 23))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.accept.setFont(font)
        self.accept.setStyleSheet("background-color: rgba(0, 255, 0, 100);")
        self.accept.setCheckable(False)
        self.accept.setDefault(True)
        self.accept.setObjectName("accept")
        self.y1 = QtWidgets.QLineEdit(self.crop_box)
        self.y1.setGeometry(QtCore.QRect(150, 30, 51, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.y1.setFont(font)
        self.y1.setStyleSheet("background-color: rgba(0, 0, 255, 50);")
        self.y1.setFrame(False)
        self.y1.setReadOnly(True)
        self.y1.setObjectName("y1")
        self.label_10 = QtWidgets.QLabel(self.crop_box)
        self.label_10.setGeometry(QtCore.QRect(-10, 32, 47, 13))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_10.setFont(font)
        self.label_10.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_10.setWordWrap(False)
        self.label_10.setObjectName("label_10")
        self.crop_button = QtWidgets.QPushButton(self.crop_box)
        self.crop_button.setGeometry(QtCore.QRect(220, 23, 81, 71))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.crop_button.setFont(font)
        self.crop_button.setObjectName("crop_button")
        self.label_12 = QtWidgets.QLabel(self.crop_box)
        self.label_12.setGeometry(QtCore.QRect(90, 32, 47, 13))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_12.setFont(font)
        self.label_12.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.label_12.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_12.setObjectName("label_12")
        self.x2 = QtWidgets.QLineEdit(self.crop_box)
        self.x2.setGeometry(QtCore.QRect(50, 70, 51, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.x2.setFont(font)
        self.x2.setStyleSheet("background-color: rgba(0, 0, 255, 50);")
        self.x2.setFrame(False)
        self.x2.setReadOnly(True)
        self.x2.setObjectName("x2")
        self.x1 = QtWidgets.QLineEdit(self.crop_box)
        self.x1.setGeometry(QtCore.QRect(50, 30, 51, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.x1.setFont(font)
        self.x1.setStyleSheet("background-color: rgba(0, 0, 255, 50);")
        self.x1.setFrame(False)
        self.x1.setReadOnly(True)
        self.x1.setObjectName("x1")
        self.label_16 = QtWidgets.QLabel(self.crop_box)
        self.label_16.setGeometry(QtCore.QRect(90, 72, 47, 13))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_16.setFont(font)
        self.label_16.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_16.setObjectName("label_16")
        self.label_11 = QtWidgets.QLabel(self.crop_box)
        self.label_11.setGeometry(QtCore.QRect(-10, 72, 47, 13))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_11.setFont(font)
        self.label_11.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_11.setObjectName("label_11")
        self.y2 = QtWidgets.QLineEdit(self.crop_box)
        self.y2.setGeometry(QtCore.QRect(150, 70, 51, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.y2.setFont(font)
        self.y2.setStyleSheet("background-color: rgba(0, 0, 255, 50);")
        self.y2.setFrame(False)
        self.y2.setReadOnly(True)
        self.y2.setObjectName("y2")
        self.resume = QtWidgets.QPushButton(self.crop_box)
        self.resume.setGeometry(QtCore.QRect(20, 120, 131, 23))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.resume.setFont(font)
        self.resume.setStyleSheet("background-color: rgba(255, 0, 0, 100);")
        self.resume.setDefault(False)
        self.resume.setObjectName("resume")
        self.lockin_button = QtWidgets.QPushButton(self.import_video)
        self.lockin_button.setGeometry(QtCore.QRect(10, 690, 341, 71))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.lockin_button.setFont(font)
        self.lockin_button.setDefault(True)
        self.lockin_button.setObjectName("lockin_button")
        self.verification_lockin = QtWidgets.QLabel(self.import_video)
        self.verification_lockin.setGeometry(QtCore.QRect(250, 710, 31, 31))
        self.verification_lockin.setAutoFillBackground(False)
        self.verification_lockin.setText("")
        self.verification_lockin.setScaledContents(True)
        self.verification_lockin.setAlignment(QtCore.Qt.AlignCenter)
        self.verification_lockin.setObjectName("verification_lockin")
        self.stacked_import = QtWidgets.QStackedWidget(self.import_video)
        self.stacked_import.setGeometry(QtCore.QRect(359, 9, 1281, 771))
        self.stacked_import.setObjectName("stacked_import")
        self.page_6 = QtWidgets.QWidget()
        self.page_6.setObjectName("page_6")
        self.mpl = MplWidget(self.page_6)
        self.mpl.setGeometry(QtCore.QRect(10, 50, 1271, 621))
        self.mpl.setCursor(QtGui.QCursor(QtCore.Qt.CrossCursor))
        self.mpl.setObjectName("mpl")
        self.frame_slider = QtWidgets.QGroupBox(self.page_6)
        self.frame_slider.setGeometry(QtCore.QRect(370, 680, 581, 80))
        self.frame_slider.setObjectName("frame_slider")
        self.slider_frame = QtWidgets.QSlider(self.frame_slider)
        self.slider_frame.setGeometry(QtCore.QRect(20, 30, 411, 22))
        self.slider_frame.setOrientation(QtCore.Qt.Horizontal)
        self.slider_frame.setTickPosition(QtWidgets.QSlider.TicksAbove)
        self.slider_frame.setTickInterval(100)
        self.slider_frame.setObjectName("slider_frame")
        self.lcd = QtWidgets.QLCDNumber(self.frame_slider)
        self.lcd.setGeometry(QtCore.QRect(460, 20, 91, 41))
        self.lcd.setStyleSheet("background-color: rgba(149, 149, 149, 200);\n"
"color: rgb(0, 0, 0);")
        self.lcd.setFrameShadow(QtWidgets.QFrame.Plain)
        self.lcd.setSmallDecimalPoint(False)
        self.lcd.setObjectName("lcd")
        self.stacked_import.addWidget(self.page_6)
        self.page_9 = QtWidgets.QWidget()
        self.page_9.setObjectName("page_9")
        self.back_import = QtWidgets.QPushButton(self.page_9)
        self.back_import.setGeometry(QtCore.QRect(530, 710, 241, 28))
        self.back_import.setStyleSheet("background-color: rgba(255, 0, 0, 100);")
        self.back_import.setObjectName("back_import")
        self.mpl_5 = MplWidget(self.page_9)
        self.mpl_5.setGeometry(QtCore.QRect(20, 130, 571, 561))
        self.mpl_5.setCursor(QtGui.QCursor(QtCore.Qt.CrossCursor))
        self.mpl_5.setObjectName("mpl_5")
        self.mpl_6 = MplWidget(self.page_9)
        self.mpl_6.setGeometry(QtCore.QRect(590, -20, 691, 721))
        self.mpl_6.setCursor(QtGui.QCursor(QtCore.Qt.CrossCursor))
        self.mpl_6.setObjectName("mpl_6")
        self.frame_start = QtWidgets.QLCDNumber(self.mpl_6)
        self.frame_start.setGeometry(QtCore.QRect(540, 50, 64, 23))
        self.frame_start.setStyleSheet("background-color: rgba(149, 149, 149, 200);\n"
"color: rgb(0, 0, 0);")
        self.frame_start.setDigitCount(5)
        self.frame_start.setProperty("value", 0.0)
        self.frame_start.setObjectName("frame_start")
        self.frame_end = QtWidgets.QLCDNumber(self.mpl_6)
        self.frame_end.setGeometry(QtCore.QRect(610, 50, 64, 23))
        self.frame_end.setStyleSheet("background-color: rgba(149, 149, 149, 200);\n"
"color: rgb(0, 0, 0);")
        self.frame_end.setProperty("value", 100.0)
        self.frame_end.setObjectName("frame_end")
        self.slider_freq = QtWidgets.QSlider(self.mpl_6)
        self.slider_freq.setGeometry(QtCore.QRect(660, 130, 22, 441))
        self.slider_freq.setPageStep(1)
        self.slider_freq.setOrientation(QtCore.Qt.Vertical)
        self.slider_freq.setInvertedAppearance(True)
        self.slider_freq.setTickPosition(QtWidgets.QSlider.TicksBelow)
        self.slider_freq.setTickInterval(50)
        self.slider_freq.setObjectName("slider_freq")
        self.groupBox_9 = QtWidgets.QGroupBox(self.page_9)
        self.groupBox_9.setGeometry(QtCore.QRect(20, 10, 571, 111))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.groupBox_9.setFont(font)
        self.groupBox_9.setObjectName("groupBox_9")
        self.min_freq = QtWidgets.QSpinBox(self.groupBox_9)
        self.min_freq.setGeometry(QtCore.QRect(50, 40, 42, 22))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.min_freq.setFont(font)
        self.min_freq.setMinimum(1)
        self.min_freq.setObjectName("min_freq")
        self.max_freq = QtWidgets.QSpinBox(self.groupBox_9)
        self.max_freq.setGeometry(QtCore.QRect(120, 40, 42, 22))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.max_freq.setFont(font)
        self.max_freq.setMaximum(100)
        self.max_freq.setProperty("value", 100)
        self.max_freq.setObjectName("max_freq")
        self.label_2 = QtWidgets.QLabel(self.groupBox_9)
        self.label_2.setGeometry(QtCore.QRect(90, 45, 20, 13))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_2.setFont(font)
        self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_2.setObjectName("label_2")
        self.label_33 = QtWidgets.QLabel(self.groupBox_9)
        self.label_33.setGeometry(QtCore.QRect(30, 20, 151, 16))
        font = QtGui.QFont()
        font.setBold(False)
        font.setUnderline(True)
        font.setWeight(50)
        self.label_33.setFont(font)
        self.label_33.setAlignment(QtCore.Qt.AlignCenter)
        self.label_33.setObjectName("label_33")
        self.search_frequency = QtWidgets.QPushButton(self.groupBox_9)
        self.search_frequency.setGeometry(QtCore.QRect(40, 70, 341, 31))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.search_frequency.setFont(font)
        self.search_frequency.setObjectName("search_frequency")
        self.label_34 = QtWidgets.QLabel(self.groupBox_9)
        self.label_34.setGeometry(QtCore.QRect(410, 30, 141, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_34.setFont(font)
        self.label_34.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_34.setObjectName("label_34")
        self.num_sample = QtWidgets.QSpinBox(self.groupBox_9)
        self.num_sample.setGeometry(QtCore.QRect(320, 40, 51, 22))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.num_sample.setFont(font)
        self.num_sample.setMinimum(2)
        self.num_sample.setMaximum(200)
        self.num_sample.setSingleStep(10)
        self.num_sample.setProperty("value", 100)
        self.num_sample.setObjectName("num_sample")
        self.label_35 = QtWidgets.QLabel(self.groupBox_9)
        self.label_35.setGeometry(QtCore.QRect(270, 20, 151, 16))
        font = QtGui.QFont()
        font.setBold(False)
        font.setUnderline(True)
        font.setWeight(50)
        self.label_35.setFont(font)
        self.label_35.setAlignment(QtCore.Qt.AlignCenter)
        self.label_35.setObjectName("label_35")
        self.line_2 = QtWidgets.QFrame(self.groupBox_9)
        self.line_2.setGeometry(QtCore.QRect(420, 20, 20, 71))
        self.line_2.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.info_load_2 = QtWidgets.QLineEdit(self.groupBox_9)
        self.info_load_2.setGeometry(QtCore.QRect(465, 60, 71, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.info_load_2.setFont(font)
        self.info_load_2.setStyleSheet("background-color: rgba(0,0, 255, 50);")
        self.info_load_2.setText("")
        self.info_load_2.setFrame(False)
        self.info_load_2.setObjectName("info_load_2")
        self.start_frame = QtWidgets.QSpinBox(self.groupBox_9)
        self.start_frame.setGeometry(QtCore.QRect(210, 40, 51, 22))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.start_frame.setFont(font)
        self.start_frame.setMinimum(0)
        self.start_frame.setMaximum(200)
        self.start_frame.setSingleStep(10)
        self.start_frame.setProperty("value", 0)
        self.start_frame.setObjectName("start_frame")
        self.label_36 = QtWidgets.QLabel(self.groupBox_9)
        self.label_36.setGeometry(QtCore.QRect(160, 20, 151, 16))
        font = QtGui.QFont()
        font.setBold(False)
        font.setUnderline(True)
        font.setWeight(50)
        self.label_36.setFont(font)
        self.label_36.setAlignment(QtCore.Qt.AlignCenter)
        self.label_36.setObjectName("label_36")
        self.stacked_import.addWidget(self.page_9)
        self.tabWidget.addTab(self.import_video, "")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.filtering_box = QtWidgets.QGroupBox(self.tab)
        self.filtering_box.setGeometry(QtCore.QRect(10, 30, 341, 281))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.filtering_box.setFont(font)
        self.filtering_box.setObjectName("filtering_box")
        self.filterLock = QtWidgets.QPushButton(self.filtering_box)
        self.filterLock.setGeometry(QtCore.QRect(180, 240, 131, 23))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.filterLock.setFont(font)
        self.filterLock.setStyleSheet("background-color: rgba(0, 255, 0, 100);")
        self.filterLock.setDefault(True)
        self.filterLock.setObjectName("filterLock")
        self.pushButton_6 = QtWidgets.QPushButton(self.filtering_box)
        self.pushButton_6.setGeometry(QtCore.QRect(30, 240, 131, 23))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.pushButton_6.setFont(font)
        self.pushButton_6.setStyleSheet("background-color: rgba(255, 0, 0, 100);")
        self.pushButton_6.setDefault(True)
        self.pushButton_6.setObjectName("pushButton_6")
        self.verification_filter = QtWidgets.QLabel(self.filtering_box)
        self.verification_filter.setGeometry(QtCore.QRect(320, 0, 20, 20))
        self.verification_filter.setAutoFillBackground(False)
        self.verification_filter.setText("")
        self.verification_filter.setScaledContents(True)
        self.verification_filter.setAlignment(QtCore.Qt.AlignCenter)
        self.verification_filter.setObjectName("verification_filter")
        self.gaussian_box = QtWidgets.QGroupBox(self.filtering_box)
        self.gaussian_box.setGeometry(QtCore.QRect(30, 120, 281, 101))
        self.gaussian_box.setTitle("")
        self.gaussian_box.setObjectName("gaussian_box")
        self.kernel_combobox = QtWidgets.QComboBox(self.gaussian_box)
        self.kernel_combobox.setGeometry(QtCore.QRect(150, 60, 61, 22))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.kernel_combobox.setFont(font)
        self.kernel_combobox.setObjectName("kernel_combobox")
        self.kernel_combobox.addItem("")
        self.kernel_combobox.addItem("")
        self.scale_spinbox = QtWidgets.QSpinBox(self.gaussian_box)
        self.scale_spinbox.setGeometry(QtCore.QRect(150, 20, 61, 22))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.scale_spinbox.setFont(font)
        self.scale_spinbox.setMinimum(1)
        self.scale_spinbox.setMaximum(10)
        self.scale_spinbox.setObjectName("scale_spinbox")
        self.label_5 = QtWidgets.QLabel(self.gaussian_box)
        self.label_5.setGeometry(QtCore.QRect(70, 24, 71, 16))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_5.setFont(font)
        self.label_5.setObjectName("label_5")
        self.label_8 = QtWidgets.QLabel(self.gaussian_box)
        self.label_8.setGeometry(QtCore.QRect(70, 64, 71, 16))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_8.setFont(font)
        self.label_8.setObjectName("label_8")
        self.colormap = QtWidgets.QComboBox(self.filtering_box)
        self.colormap.setGeometry(QtCore.QRect(210, 35, 101, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.colormap.setFont(font)
        self.colormap.setObjectName("colormap")
        self.colormap.addItem("")
        self.colormap.addItem("")
        self.colormap.addItem("")
        self.colormap.addItem("")
        self.colormap.addItem("")
        self.colormap.addItem("")
        self.colormap.addItem("")
        self.label_15 = QtWidgets.QLabel(self.filtering_box)
        self.label_15.setGeometry(QtCore.QRect(40, 33, 161, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setUnderline(True)
        font.setWeight(50)
        self.label_15.setFont(font)
        self.label_15.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_15.setObjectName("label_15")
        self.enable_filter = QtWidgets.QCheckBox(self.filtering_box)
        self.enable_filter.setGeometry(QtCore.QRect(120, 80, 191, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.enable_filter.setFont(font)
        self.enable_filter.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.enable_filter.setObjectName("enable_filter")
        self.filter = QtWidgets.QLabel(self.tab)
        self.filter.setGeometry(QtCore.QRect(1140, 15, 201, 31))
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setUnderline(False)
        font.setWeight(75)
        self.filter.setFont(font)
        self.filter.setStyleSheet("background-color: rgba(255, 170, 0, 150);")
        self.filter.setAlignment(QtCore.Qt.AlignCenter)
        self.filter.setObjectName("filter")
        self.groupBox = QtWidgets.QGroupBox(self.tab)
        self.groupBox.setGeometry(QtCore.QRect(470, 10, 651, 41))
        self.groupBox.setTitle("")
        self.groupBox.setObjectName("groupBox")
        self.info_load = QtWidgets.QLineEdit(self.groupBox)
        self.info_load.setGeometry(QtCore.QRect(360, 10, 50, 20))
        self.info_load.setStyleSheet("background-color: rgba(0,0, 255, 50);")
        self.info_load.setText("")
        self.info_load.setFrame(False)
        self.info_load.setObjectName("info_load")
        self.info_sample = QtWidgets.QLineEdit(self.groupBox)
        self.info_sample.setGeometry(QtCore.QRect(170, 10, 50, 20))
        self.info_sample.setStyleSheet("background-color: rgba(0,0, 255, 50);")
        self.info_sample.setFrame(False)
        self.info_sample.setObjectName("info_sample")
        self.label_18 = QtWidgets.QLabel(self.groupBox)
        self.label_18.setGeometry(QtCore.QRect(210, 9, 141, 21))
        self.label_18.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_18.setObjectName("label_18")
        self.label_17 = QtWidgets.QLabel(self.groupBox)
        self.label_17.setGeometry(QtCore.QRect(0, 9, 161, 21))
        self.label_17.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_17.setObjectName("label_17")
        self.km_text = QtWidgets.QLabel(self.groupBox)
        self.km_text.setGeometry(QtCore.QRect(540, 10, 91, 21))
        font = QtGui.QFont()
        font.setPointSize(8)
        font.setBold(False)
        font.setUnderline(False)
        font.setWeight(50)
        font.setKerning(False)
        self.km_text.setFont(font)
        self.km_text.setStyleSheet("background-color: rgba(0,0, 255, 50);")
        self.km_text.setAlignment(QtCore.Qt.AlignCenter)
        self.km_text.setObjectName("km_text")
        self.label_30 = QtWidgets.QLabel(self.groupBox)
        self.label_30.setGeometry(QtCore.QRect(390, 10, 141, 21))
        self.label_30.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_30.setObjectName("label_30")
        self.calibration_box = QtWidgets.QGroupBox(self.tab)
        self.calibration_box.setGeometry(QtCore.QRect(10, 320, 341, 251))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.calibration_box.setFont(font)
        self.calibration_box.setObjectName("calibration_box")
        self.stacked_calibration = QtWidgets.QStackedWidget(self.calibration_box)
        self.stacked_calibration.setGeometry(QtCore.QRect(70, 100, 191, 161))
        self.stacked_calibration.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.stacked_calibration.setFrameShadow(QtWidgets.QFrame.Plain)
        self.stacked_calibration.setLineWidth(1)
        self.stacked_calibration.setObjectName("stacked_calibration")
        self.page = QtWidgets.QWidget()
        self.page.setObjectName("page")
        self.calibration_material = QtWidgets.QComboBox(self.page)
        self.calibration_material.setGeometry(QtCore.QRect(0, 20, 191, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.calibration_material.setFont(font)
        self.calibration_material.setObjectName("calibration_material")
        self.calibration_material.addItem("")
        self.calibration_material.addItem("")
        self.calibration_material.addItem("")
        self.calibration_material.addItem("")
        self.calibration_alert = QtWidgets.QLabel(self.page)
        self.calibration_alert.setGeometry(QtCore.QRect(0, 50, 191, 41))
        font = QtGui.QFont()
        font.setItalic(True)
        font.setUnderline(True)
        self.calibration_alert.setFont(font)
        self.calibration_alert.setText("")
        self.calibration_alert.setAlignment(QtCore.Qt.AlignCenter)
        self.calibration_alert.setObjectName("calibration_alert")
        self.stacked_calibration.addWidget(self.page)
        self.page_3 = QtWidgets.QWidget()
        self.page_3.setObjectName("page_3")
        self.label_21 = QtWidgets.QLabel(self.page_3)
        self.label_21.setGeometry(QtCore.QRect(20, 27, 131, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_21.setFont(font)
        self.label_21.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label_21.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.label_21.setObjectName("label_21")
        self.calibration_exp = QtWidgets.QSpinBox(self.page_3)
        self.calibration_exp.setGeometry(QtCore.QRect(120, 60, 42, 22))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.calibration_exp.setFont(font)
        self.calibration_exp.setMinimum(-10)
        self.calibration_exp.setMaximum(0)
        self.calibration_exp.setProperty("value", -6)
        self.calibration_exp.setObjectName("calibration_exp")
        self.label_22 = QtWidgets.QLabel(self.page_3)
        self.label_22.setGeometry(QtCore.QRect(80, 57, 31, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_22.setFont(font)
        self.label_22.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label_22.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.label_22.setObjectName("label_22")
        self.calibration_unit = QtWidgets.QDoubleSpinBox(self.page_3)
        self.calibration_unit.setGeometry(QtCore.QRect(80, 30, 81, 22))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.calibration_unit.setFont(font)
        self.calibration_unit.setDecimals(1)
        self.calibration_unit.setSingleStep(0.1)
        self.calibration_unit.setProperty("value", 6.0)
        self.calibration_unit.setObjectName("calibration_unit")
        self.label_22.raise_()
        self.label_21.raise_()
        self.calibration_exp.raise_()
        self.calibration_unit.raise_()
        self.stacked_calibration.addWidget(self.page_3)
        self.page_2 = QtWidgets.QWidget()
        self.page_2.setObjectName("page_2")
        self.calibration_strain_y = QtWidgets.QLineEdit(self.page_2)
        self.calibration_strain_y.setGeometry(QtCore.QRect(130, 20, 61, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.calibration_strain_y.setFont(font)
        self.calibration_strain_y.setText("")
        self.calibration_strain_y.setObjectName("calibration_strain_y")
        self.label_23 = QtWidgets.QLabel(self.page_2)
        self.label_23.setGeometry(QtCore.QRect(-10, 15, 131, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_23.setFont(font)
        self.label_23.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label_23.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing)
        self.label_23.setObjectName("label_23")
        self.label_24 = QtWidgets.QLabel(self.page_2)
        self.label_24.setGeometry(QtCore.QRect(-10, 45, 131, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_24.setFont(font)
        self.label_24.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label_24.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing)
        self.label_24.setObjectName("label_24")
        self.label_25 = QtWidgets.QLabel(self.page_2)
        self.label_25.setGeometry(QtCore.QRect(-10, 75, 131, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_25.setFont(font)
        self.label_25.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label_25.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing)
        self.label_25.setObjectName("label_25")
        self.calibration_strain_p = QtWidgets.QLineEdit(self.page_2)
        self.calibration_strain_p.setGeometry(QtCore.QRect(130, 50, 61, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.calibration_strain_p.setFont(font)
        self.calibration_strain_p.setText("")
        self.calibration_strain_p.setObjectName("calibration_strain_p")
        self.calibration_strain_s = QtWidgets.QLineEdit(self.page_2)
        self.calibration_strain_s.setGeometry(QtCore.QRect(130, 80, 61, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.calibration_strain_s.setFont(font)
        self.calibration_strain_s.setText("")
        self.calibration_strain_s.setObjectName("calibration_strain_s")
        self.gauge_button = QtWidgets.QPushButton(self.page_2)
        self.gauge_button.setGeometry(QtCore.QRect(10, 110, 181, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.gauge_button.setFont(font)
        self.gauge_button.setCheckable(False)
        self.gauge_button.setObjectName("gauge_button")
        self.stacked_calibration.addWidget(self.page_2)
        self.verification_calibration = QtWidgets.QLabel(self.calibration_box)
        self.verification_calibration.setGeometry(QtCore.QRect(320, 0, 20, 20))
        self.verification_calibration.setAutoFillBackground(False)
        self.verification_calibration.setText("")
        self.verification_calibration.setScaledContents(True)
        self.verification_calibration.setAlignment(QtCore.Qt.AlignCenter)
        self.verification_calibration.setObjectName("verification_calibration")
        self.filterLock_2 = QtWidgets.QPushButton(self.calibration_box)
        self.filterLock_2.setGeometry(QtCore.QRect(130, 60, 91, 23))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.filterLock_2.setFont(font)
        self.filterLock_2.setStyleSheet("background-color: rgba(255, 170, 0, 150);")
        self.filterLock_2.setDefault(True)
        self.filterLock_2.setObjectName("filterLock_2")
        self.select_calibration = QtWidgets.QComboBox(self.calibration_box)
        self.select_calibration.setGeometry(QtCore.QRect(20, 60, 101, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.select_calibration.setFont(font)
        self.select_calibration.setObjectName("select_calibration")
        self.select_calibration.addItem("")
        self.select_calibration.addItem("")
        self.select_calibration.addItem("")
        self.label_20 = QtWidgets.QLabel(self.calibration_box)
        self.label_20.setGeometry(QtCore.QRect(-50, 30, 161, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setUnderline(True)
        font.setWeight(50)
        self.label_20.setFont(font)
        self.label_20.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_20.setObjectName("label_20")
        self.cal_save = QtWidgets.QPushButton(self.calibration_box)
        self.cal_save.setGeometry(QtCore.QRect(230, 60, 101, 23))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.cal_save.setFont(font)
        self.cal_save.setStyleSheet("background-color: rgba(0, 255, 0, 100);")
        self.cal_save.setDefault(True)
        self.cal_save.setObjectName("cal_save")
        self.line_3 = QtWidgets.QFrame(self.calibration_box)
        self.line_3.setGeometry(QtCore.QRect(20, 90, 305, 20))
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.stacked_post = QtWidgets.QStackedWidget(self.tab)
        self.stacked_post.setGeometry(QtCore.QRect(360, 90, 1301, 721))
        self.stacked_post.setObjectName("stacked_post")
        self.page_4 = QtWidgets.QWidget()
        self.page_4.setObjectName("page_4")
        self.mpl_2 = MplWidget(self.page_4)
        self.mpl_2.setGeometry(QtCore.QRect(100, 20, 1151, 621))
        self.mpl_2.setCursor(QtGui.QCursor(QtCore.Qt.CrossCursor))
        self.mpl_2.setObjectName("mpl_2")
        self.stacked_multi = QtWidgets.QStackedWidget(self.page_4)
        self.stacked_multi.setGeometry(QtCore.QRect(19, 10, 1281, 691))
        self.stacked_multi.setStyleSheet("")
        self.stacked_multi.setObjectName("stacked_multi")
        self.page_7 = QtWidgets.QWidget()
        self.page_7.setObjectName("page_7")
        self.groupBox_3 = QtWidgets.QGroupBox(self.page_7)
        self.groupBox_3.setGeometry(QtCore.QRect(450, 580, 481, 71))
        self.groupBox_3.setObjectName("groupBox_3")
        self.cblim_down = QtWidgets.QLineEdit(self.groupBox_3)
        self.cblim_down.setGeometry(QtCore.QRect(70, 28, 61, 20))
        self.cblim_down.setObjectName("cblim_down")
        self.cblim_up = QtWidgets.QLineEdit(self.groupBox_3)
        self.cblim_up.setGeometry(QtCore.QRect(190, 28, 61, 21))
        self.cblim_up.setObjectName("cblim_up")
        self.refresh = QtWidgets.QPushButton(self.groupBox_3)
        self.refresh.setGeometry(QtCore.QRect(290, 28, 81, 23))
        self.refresh.setStyleSheet("background-color: rgba(0, 255, 0, 100);")
        self.refresh.setObjectName("refresh")
        self.label_39 = QtWidgets.QLabel(self.groupBox_3)
        self.label_39.setGeometry(QtCore.QRect(17, 31, 47, 13))
        font = QtGui.QFont()
        font.setUnderline(True)
        self.label_39.setFont(font)
        self.label_39.setObjectName("label_39")
        self.label_42 = QtWidgets.QLabel(self.groupBox_3)
        self.label_42.setGeometry(QtCore.QRect(150, 31, 47, 13))
        font = QtGui.QFont()
        font.setUnderline(True)
        self.label_42.setFont(font)
        self.label_42.setObjectName("label_42")
        self.refresh_resume = QtWidgets.QPushButton(self.groupBox_3)
        self.refresh_resume.setGeometry(QtCore.QRect(380, 28, 81, 23))
        self.refresh_resume.setStyleSheet("background-color: rgba(255, 0, 0, 100);")
        self.refresh_resume.setObjectName("refresh_resume")
        self.line_5 = QtWidgets.QFrame(self.groupBox_3)
        self.line_5.setGeometry(QtCore.QRect(260, 10, 20, 51))
        self.line_5.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_5.setObjectName("line_5")
        self.stacked_multi.addWidget(self.page_7)
        self.page_8 = QtWidgets.QWidget()
        self.page_8.setObjectName("page_8")
        self.groupBox_4 = QtWidgets.QGroupBox(self.page_8)
        self.groupBox_4.setGeometry(QtCore.QRect(0, 160, 381, 521))
        self.groupBox_4.setStyleSheet("background-color: rgb(255, 255, 255);")
        self.groupBox_4.setTitle("")
        self.groupBox_4.setObjectName("groupBox_4")
        self.save_box = QtWidgets.QGroupBox(self.groupBox_4)
        self.save_box.setGeometry(QtCore.QRect(20, 270, 341, 181))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.save_box.setFont(font)
        self.save_box.setObjectName("save_box")
        self.pushButton_8 = QtWidgets.QPushButton(self.save_box)
        self.pushButton_8.setGeometry(QtCore.QRect(250, 100, 71, 61))
        self.pushButton_8.setStyleSheet("background-color: rgb(225, 225, 225);")
        self.pushButton_8.setDefault(True)
        self.pushButton_8.setObjectName("pushButton_8")
        self.verification_save = QtWidgets.QLabel(self.save_box)
        self.verification_save.setGeometry(QtCore.QRect(320, 0, 20, 20))
        self.verification_save.setAutoFillBackground(False)
        self.verification_save.setText("")
        self.verification_save.setScaledContents(True)
        self.verification_save.setAlignment(QtCore.Qt.AlignCenter)
        self.verification_save.setObjectName("verification_save")
        self.groupBox_5 = QtWidgets.QGroupBox(self.save_box)
        self.groupBox_5.setGeometry(QtCore.QRect(20, 100, 221, 61))
        self.groupBox_5.setStyleSheet("background-color: rgb(240, 240, 240);")
        self.groupBox_5.setTitle("")
        self.groupBox_5.setObjectName("groupBox_5")
        self.plot_format = QtWidgets.QCheckBox(self.groupBox_5)
        self.plot_format.setGeometry(QtCore.QRect(-50, 20, 131, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.plot_format.setFont(font)
        self.plot_format.setMouseTracking(False)
        self.plot_format.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.plot_format.setChecked(True)
        self.plot_format.setAutoRepeat(False)
        self.plot_format.setAutoExclusive(False)
        self.plot_format.setObjectName("plot_format")
        self.data_format = QtWidgets.QCheckBox(self.groupBox_5)
        self.data_format.setGeometry(QtCore.QRect(100, 20, 51, 20))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.data_format.setFont(font)
        self.data_format.setMouseTracking(False)
        self.data_format.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.data_format.setCheckable(True)
        self.data_format.setChecked(True)
        self.data_format.setAutoRepeat(False)
        self.data_format.setAutoExclusive(False)
        self.data_format.setObjectName("data_format")
        self.csv = QtWidgets.QRadioButton(self.groupBox_5)
        self.csv.setGeometry(QtCore.QRect(170, 10, 82, 17))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.csv.setFont(font)
        self.csv.setChecked(True)
        self.csv.setObjectName("csv")
        self.npy = QtWidgets.QRadioButton(self.groupBox_5)
        self.npy.setGeometry(QtCore.QRect(170, 30, 82, 17))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.npy.setFont(font)
        self.npy.setObjectName("npy")
        self.name_box_2 = QtWidgets.QGroupBox(self.save_box)
        self.name_box_2.setGeometry(QtCore.QRect(20, 20, 301, 71))
        self.name_box_2.setStyleSheet("background-color: rgb(240, 240, 240);")
        self.name_box_2.setTitle("")
        self.name_box_2.setObjectName("name_box_2")
        self.label_29 = QtWidgets.QLabel(self.name_box_2)
        self.label_29.setGeometry(QtCore.QRect(10, 10, 121, 16))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_29.setFont(font)
        self.label_29.setStyleSheet("")
        self.label_29.setObjectName("label_29")
        self.project_name = QtWidgets.QLineEdit(self.name_box_2)
        self.project_name.setGeometry(QtCore.QRect(10, 30, 281, 22))
        font = QtGui.QFont()
        font.setBold(False)
        font.setItalic(True)
        font.setWeight(50)
        self.project_name.setFont(font)
        self.project_name.setStyleSheet("background-color: rgb(255, 255, 255);")
        self.project_name.setObjectName("project_name")
        self.folder_box = QtWidgets.QGroupBox(self.groupBox_4)
        self.folder_box.setGeometry(QtCore.QRect(20, 20, 341, 241))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.folder_box.setFont(font)
        self.folder_box.setObjectName("folder_box")
        self.path_text = QtWidgets.QTextBrowser(self.folder_box)
        self.path_text.setGeometry(QtCore.QRect(20, 90, 301, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.path_text.setFont(font)
        self.path_text.setStyleSheet("background-color: rgba(255, 0, 0, 120);\n"
"background-color: rgba(0, 0, 255, 50);")
        self.path_text.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.path_text.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.path_text.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.path_text.setObjectName("path_text")
        self.label_27 = QtWidgets.QLabel(self.folder_box)
        self.label_27.setGeometry(QtCore.QRect(20, 70, 81, 16))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_27.setFont(font)
        self.label_27.setObjectName("label_27")
        self.path_button = QtWidgets.QPushButton(self.folder_box)
        self.path_button.setGeometry(QtCore.QRect(20, 30, 301, 28))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.path_button.setFont(font)
        self.path_button.setStyleSheet("background-color: rgb(225, 225, 225);")
        self.path_button.setObjectName("path_button")
        self.verification_folder = QtWidgets.QLabel(self.folder_box)
        self.verification_folder.setGeometry(QtCore.QRect(320, 0, 20, 20))
        self.verification_folder.setAutoFillBackground(False)
        self.verification_folder.setText("")
        self.verification_folder.setScaledContents(True)
        self.verification_folder.setAlignment(QtCore.Qt.AlignCenter)
        self.verification_folder.setObjectName("verification_folder")
        self.name_box = QtWidgets.QGroupBox(self.folder_box)
        self.name_box.setGeometry(QtCore.QRect(20, 120, 301, 101))
        self.name_box.setStyleSheet("background-color: rgb(240, 240, 240);")
        self.name_box.setTitle("")
        self.name_box.setObjectName("name_box")
        self.open_folder = QtWidgets.QToolButton(self.name_box)
        self.open_folder.setGeometry(QtCore.QRect(250, 60, 41, 28))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.open_folder.setFont(font)
        self.open_folder.setStyleSheet("background-color: rgb(225, 225, 225);")
        self.open_folder.setObjectName("open_folder")
        self.label_28 = QtWidgets.QLabel(self.name_box)
        self.label_28.setGeometry(QtCore.QRect(10, 10, 121, 16))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_28.setFont(font)
        self.label_28.setStyleSheet("")
        self.label_28.setObjectName("label_28")
        self.createfolder_button = QtWidgets.QPushButton(self.name_box)
        self.createfolder_button.setGeometry(QtCore.QRect(10, 60, 231, 28))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.createfolder_button.setFont(font)
        self.createfolder_button.setStyleSheet("background-color: rgb(225, 225, 225);")
        self.createfolder_button.setObjectName("createfolder_button")
        self.folder_name = QtWidgets.QLineEdit(self.name_box)
        self.folder_name.setGeometry(QtCore.QRect(10, 30, 281, 22))
        font = QtGui.QFont()
        font.setBold(False)
        font.setItalic(True)
        font.setUnderline(False)
        font.setWeight(50)
        self.folder_name.setFont(font)
        self.folder_name.setStyleSheet("background-color: rgb(255, 255, 255);")
        self.folder_name.setObjectName("folder_name")
        self.pushButton_4 = QtWidgets.QPushButton(self.groupBox_4)
        self.pushButton_4.setGeometry(QtCore.QRect(70, 470, 241, 28))
        self.pushButton_4.setStyleSheet("background-color: rgba(255, 0, 0, 100);")
        self.pushButton_4.setObjectName("pushButton_4")
        self.stacked_multi.addWidget(self.page_8)
        self.page_10 = QtWidgets.QWidget()
        self.page_10.setObjectName("page_10")
        self.groupBox_6 = QtWidgets.QGroupBox(self.page_10)
        self.groupBox_6.setGeometry(QtCore.QRect(20, 20, 1211, 631))
        self.groupBox_6.setStyleSheet("background-color: rgb(255, 255, 255);")
        self.groupBox_6.setTitle("")
        self.groupBox_6.setObjectName("groupBox_6")
        self.mpl_4 = MplWidget(self.groupBox_6)
        self.mpl_4.setGeometry(QtCore.QRect(160, 0, 901, 481))
        self.mpl_4.setCursor(QtGui.QCursor(QtCore.Qt.CrossCursor))
        self.mpl_4.setObjectName("mpl_4")
        self.pushButton_2 = QtWidgets.QPushButton(self.groupBox_6)
        self.pushButton_2.setGeometry(QtCore.QRect(540, 590, 181, 28))
        self.pushButton_2.setStyleSheet("background-color: rgba(255, 0, 0, 100);")
        self.pushButton_2.setObjectName("pushButton_2")
        self.groupBox_2 = QtWidgets.QGroupBox(self.groupBox_6)
        self.groupBox_2.setGeometry(QtCore.QRect(460, 470, 321, 111))
        self.groupBox_2.setObjectName("groupBox_2")
        self.pushButton_3 = QtWidgets.QPushButton(self.groupBox_2)
        self.pushButton_3.setGeometry(QtCore.QRect(30, 30, 101, 61))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.pushButton_3.setFont(font)
        self.pushButton_3.setStyleSheet("background-color: rgb(225, 225, 225);")
        self.pushButton_3.setShortcut("")
        self.pushButton_3.setObjectName("pushButton_3")
        self.label_13 = QtWidgets.QLabel(self.groupBox_2)
        self.label_13.setGeometry(QtCore.QRect(170, 10, 101, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_13.setFont(font)
        self.label_13.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label_13.setAlignment(QtCore.Qt.AlignCenter)
        self.label_13.setObjectName("label_13")
        self.coordinate_text = QtWidgets.QTextBrowser(self.groupBox_2)
        self.coordinate_text.setGeometry(QtCore.QRect(160, 30, 121, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.coordinate_text.setFont(font)
        self.coordinate_text.setStyleSheet("background-color: rgba(0, 0, 255, 50);")
        self.coordinate_text.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.coordinate_text.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.coordinate_text.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.coordinate_text.setObjectName("coordinate_text")
        self.temperature_text = QtWidgets.QTextBrowser(self.groupBox_2)
        self.temperature_text.setGeometry(QtCore.QRect(160, 70, 121, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.temperature_text.setFont(font)
        self.temperature_text.setStyleSheet("background-color: rgba(0, 0, 255, 50);")
        self.temperature_text.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.temperature_text.setFrameShadow(QtWidgets.QFrame.Raised)
        self.temperature_text.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.temperature_text.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.temperature_text.setAcceptRichText(False)
        self.temperature_text.setObjectName("temperature_text")
        self.label_26 = QtWidgets.QLabel(self.groupBox_2)
        self.label_26.setGeometry(QtCore.QRect(150, 50, 141, 21))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_26.setFont(font)
        self.label_26.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.label_26.setAlignment(QtCore.Qt.AlignCenter)
        self.label_26.setObjectName("label_26")
        self.verification_position = QtWidgets.QLabel(self.groupBox_2)
        self.verification_position.setGeometry(QtCore.QRect(280, 0, 20, 20))
        self.verification_position.setAutoFillBackground(False)
        self.verification_position.setText("")
        self.verification_position.setScaledContents(True)
        self.verification_position.setAlignment(QtCore.Qt.AlignCenter)
        self.verification_position.setObjectName("verification_position")
        self.stacked_multi.addWidget(self.page_10)
        self.stacked_post.addWidget(self.page_4)
        self.page_5 = QtWidgets.QWidget()
        self.page_5.setObjectName("page_5")
        self.mpl_3 = MplWidget(self.page_5)
        self.mpl_3.setGeometry(QtCore.QRect(100, 20, 1151, 621))
        self.mpl_3.setCursor(QtGui.QCursor(QtCore.Qt.CrossCursor))
        self.mpl_3.setObjectName("mpl_3")
        self.stacked_post.addWidget(self.page_5)
        self.page_11 = QtWidgets.QWidget()
        self.page_11.setObjectName("page_11")
        self.mpl_7 = MplWidget(self.page_11)
        self.mpl_7.setGeometry(QtCore.QRect(590, 40, 691, 581))
        self.mpl_7.setCursor(QtGui.QCursor(QtCore.Qt.CrossCursor))
        self.mpl_7.setObjectName("mpl_7")
        self.slider_plot = QtWidgets.QSlider(self.mpl_7)
        self.slider_plot.setGeometry(QtCore.QRect(660, 60, 22, 441))
        self.slider_plot.setPageStep(1)
        self.slider_plot.setOrientation(QtCore.Qt.Vertical)
        self.slider_plot.setInvertedAppearance(True)
        self.slider_plot.setTickPosition(QtWidgets.QSlider.TicksBelow)
        self.slider_plot.setTickInterval(50)
        self.slider_plot.setObjectName("slider_plot")
        self.frame_start_2 = QtWidgets.QLCDNumber(self.mpl_7)
        self.frame_start_2.setGeometry(QtCore.QRect(480, 40, 64, 23))
        self.frame_start_2.setStyleSheet("background-color: rgba(149, 149, 149, 200);\n"
"color: rgb(0, 0, 0);")
        self.frame_start_2.setDigitCount(5)
        self.frame_start_2.setProperty("value", 0.0)
        self.frame_start_2.setObjectName("frame_start_2")
        self.frame_end_2 = QtWidgets.QLCDNumber(self.mpl_7)
        self.frame_end_2.setGeometry(QtCore.QRect(550, 40, 64, 23))
        self.frame_end_2.setStyleSheet("background-color: rgba(149, 149, 149, 200);\n"
"color: rgb(0, 0, 0);")
        self.frame_end_2.setProperty("value", 100.0)
        self.frame_end_2.setObjectName("frame_end_2")
        self.legend_plot = QtWidgets.QCheckBox(self.mpl_7)
        self.legend_plot.setGeometry(QtCore.QRect(470, 10, 151, 20))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.legend_plot.setFont(font)
        self.legend_plot.setLayoutDirection(QtCore.Qt.RightToLeft)
        self.legend_plot.setShortcut("")
        self.legend_plot.setObjectName("legend_plot")
        self.mpl_8 = MplWidget(self.page_11)
        self.mpl_8.setGeometry(QtCore.QRect(20, 170, 571, 441))
        self.mpl_8.setCursor(QtGui.QCursor(QtCore.Qt.CrossCursor))
        self.mpl_8.setObjectName("mpl_8")
        self.groupBox_11 = QtWidgets.QGroupBox(self.page_11)
        self.groupBox_11.setGeometry(QtCore.QRect(20, 20, 571, 141))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.groupBox_11.setFont(font)
        self.groupBox_11.setObjectName("groupBox_11")
        self.search_frequency_2 = QtWidgets.QPushButton(self.groupBox_11)
        self.search_frequency_2.setGeometry(QtCore.QRect(450, 30, 101, 31))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.search_frequency_2.setFont(font)
        self.search_frequency_2.setObjectName("search_frequency_2")
        self.num_sample_2 = QtWidgets.QSpinBox(self.groupBox_11)
        self.num_sample_2.setGeometry(QtCore.QRect(360, 40, 51, 22))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.num_sample_2.setFont(font)
        self.num_sample_2.setMinimum(2)
        self.num_sample_2.setMaximum(200)
        self.num_sample_2.setSingleStep(10)
        self.num_sample_2.setProperty("value", 100)
        self.num_sample_2.setObjectName("num_sample_2")
        self.label_40 = QtWidgets.QLabel(self.groupBox_11)
        self.label_40.setGeometry(QtCore.QRect(310, 20, 151, 16))
        font = QtGui.QFont()
        font.setBold(False)
        font.setUnderline(True)
        font.setWeight(50)
        self.label_40.setFont(font)
        self.label_40.setAlignment(QtCore.Qt.AlignCenter)
        self.label_40.setObjectName("label_40")
        self.start_frame_2 = QtWidgets.QSpinBox(self.groupBox_11)
        self.start_frame_2.setGeometry(QtCore.QRect(250, 40, 51, 22))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.start_frame_2.setFont(font)
        self.start_frame_2.setMinimum(0)
        self.start_frame_2.setMaximum(200)
        self.start_frame_2.setSingleStep(10)
        self.start_frame_2.setProperty("value", 0)
        self.start_frame_2.setObjectName("start_frame_2")
        self.label_41 = QtWidgets.QLabel(self.groupBox_11)
        self.label_41.setGeometry(QtCore.QRect(200, 20, 151, 16))
        font = QtGui.QFont()
        font.setBold(False)
        font.setUnderline(True)
        font.setWeight(50)
        self.label_41.setFont(font)
        self.label_41.setAlignment(QtCore.Qt.AlignCenter)
        self.label_41.setObjectName("label_41")
        self.groupBox_10 = QtWidgets.QGroupBox(self.groupBox_11)
        self.groupBox_10.setGeometry(QtCore.QRect(20, 25, 191, 41))
        self.groupBox_10.setTitle("")
        self.groupBox_10.setObjectName("groupBox_10")
        self.button_point = QtWidgets.QRadioButton(self.groupBox_10)
        self.button_point.setGeometry(QtCore.QRect(10, 10, 82, 17))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.button_point.setFont(font)
        self.button_point.setChecked(False)
        self.button_point.setObjectName("button_point")
        self.button_line = QtWidgets.QRadioButton(self.groupBox_10)
        self.button_line.setGeometry(QtCore.QRect(70, 10, 82, 17))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.button_line.setFont(font)
        self.button_line.setChecked(False)
        self.button_line.setObjectName("button_line")
        self.button_area = QtWidgets.QRadioButton(self.groupBox_10)
        self.button_area.setEnabled(True)
        self.button_area.setGeometry(QtCore.QRect(120, 10, 82, 17))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.button_area.setFont(font)
        self.button_area.setCheckable(True)
        self.button_area.setChecked(False)
        self.button_area.setAutoExclusive(True)
        self.button_area.setObjectName("button_area")
        self.line_4 = QtWidgets.QFrame(self.groupBox_11)
        self.line_4.setGeometry(QtCore.QRect(20, 75, 531, 16))
        self.line_4.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_4.setObjectName("line_4")
        self.results_box = QtWidgets.QGroupBox(self.groupBox_11)
        self.results_box.setGeometry(QtCore.QRect(20, 90, 531, 41))
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.results_box.setFont(font)
        self.results_box.setObjectName("results_box")
        self.info_mean = QtWidgets.QLineEdit(self.results_box)
        self.info_mean.setGeometry(QtCore.QRect(119, 12, 71, 20))
        self.info_mean.setStyleSheet("background-color: rgba(0,255, 255, 50);")
        self.info_mean.setFrame(False)
        self.info_mean.setObjectName("info_mean")
        self.info_max = QtWidgets.QLineEdit(self.results_box)
        self.info_max.setGeometry(QtCore.QRect(259, 14, 71, 20))
        self.info_max.setStyleSheet("background-color: rgba(0,255, 255, 50);")
        self.info_max.setFrame(False)
        self.info_max.setObjectName("info_max")
        self.info_min = QtWidgets.QLineEdit(self.results_box)
        self.info_min.setGeometry(QtCore.QRect(399, 14, 71, 20))
        self.info_min.setStyleSheet("background-color: rgba(0,255, 255, 50);")
        self.info_min.setFrame(False)
        self.info_min.setObjectName("info_min")
        self.label = QtWidgets.QLabel(self.results_box)
        self.label.setGeometry(QtCore.QRect(339, 18, 47, 13))
        self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label.setObjectName("label")
        self.label_37 = QtWidgets.QLabel(self.results_box)
        self.label_37.setGeometry(QtCore.QRect(199, 18, 47, 13))
        self.label_37.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_37.setObjectName("label_37")
        self.label_38 = QtWidgets.QLabel(self.results_box)
        self.label_38.setGeometry(QtCore.QRect(60, 18, 47, 13))
        self.label_38.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_38.setObjectName("label_38")
        self.back_post = QtWidgets.QPushButton(self.page_11)
        self.back_post.setGeometry(QtCore.QRect(530, 630, 241, 28))
        self.back_post.setStyleSheet("background-color: rgba(255, 0, 0, 100);")
        self.back_post.setObjectName("back_post")
        self.mpl_8.raise_()
        self.mpl_7.raise_()
        self.groupBox_11.raise_()
        self.back_post.raise_()
        self.stacked_post.addWidget(self.page_11)
        self.filter_2 = QtWidgets.QLabel(self.tab)
        self.filter_2.setGeometry(QtCore.QRect(1140, 65, 201, 31))
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setUnderline(False)
        font.setWeight(75)
        self.filter_2.setFont(font)
        self.filter_2.setStyleSheet("background-color: rgba(170, 255, 0, 150);")
        self.filter_2.setAlignment(QtCore.Qt.AlignCenter)
        self.filter_2.setObjectName("filter_2")
        self.save = QtWidgets.QPushButton(self.tab)
        self.save.setGeometry(QtCore.QRect(10, 690, 341, 71))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.save.setFont(font)
        self.save.setStyleSheet("")
        self.save.setDefault(True)
        self.save.setObjectName("save")
        self.temporal_box = QtWidgets.QGroupBox(self.tab)
        self.temporal_box.setGeometry(QtCore.QRect(9, 580, 341, 101))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.temporal_box.setFont(font)
        self.temporal_box.setObjectName("temporal_box")
        self.temp_plot = QtWidgets.QPushButton(self.temporal_box)
        self.temp_plot.setGeometry(QtCore.QRect(10, 30, 321, 41))
        font = QtGui.QFont()
        font.setBold(False)
        font.setItalic(True)
        font.setWeight(50)
        self.temp_plot.setFont(font)
        self.temp_plot.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
        self.temp_plot.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.temp_plot.setAcceptDrops(False)
        self.temp_plot.setCheckable(False)
        self.temp_plot.setAutoDefault(False)
        self.temp_plot.setDefault(False)
        self.temp_plot.setFlat(False)
        self.temp_plot.setObjectName("temp_plot")
        self.groupBox_7 = QtWidgets.QGroupBox(self.tab)
        self.groupBox_7.setGeometry(QtCore.QRect(830, 60, 291, 41))
        self.groupBox_7.setTitle("")
        self.groupBox_7.setObjectName("groupBox_7")
        self.slider_graph = QtWidgets.QSlider(self.groupBox_7)
        self.slider_graph.setGeometry(QtCore.QRect(70, 10, 160, 22))
        self.slider_graph.setMaximum(1)
        self.slider_graph.setPageStep(1)
        self.slider_graph.setOrientation(QtCore.Qt.Horizontal)
        self.slider_graph.setObjectName("slider_graph")
        self.label_31 = QtWidgets.QLabel(self.groupBox_7)
        self.label_31.setGeometry(QtCore.QRect(30, 10, 31, 21))
        self.label_31.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_31.setObjectName("label_31")
        self.label_32 = QtWidgets.QLabel(self.groupBox_7)
        self.label_32.setGeometry(QtCore.QRect(230, 10, 31, 21))
        self.label_32.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_32.setObjectName("label_32")
        self.tabWidget.addTab(self.tab, "")
        self.banner = QtWidgets.QLabel(self.centralwidget)
        self.banner.setGeometry(QtCore.QRect(160, -40, 1435, 191))
        self.banner.setStyleSheet("image: url(:/Banner/banner3.png);")
        self.banner.setText("")
        self.banner.setObjectName("banner")
        self.date = QtWidgets.QLineEdit(self.centralwidget)
        self.date.setGeometry(QtCore.QRect(1470, 920, 141, 20))
        self.date.setFrame(False)
        self.date.setReadOnly(True)
        self.date.setObjectName("date")
        self.version = QtWidgets.QLineEdit(self.centralwidget)
        self.version.setGeometry(QtCore.QRect(1620, 920, 61, 20))
        self.version.setFrame(False)
        self.version.setReadOnly(True)
        self.version.setObjectName("version")
        self.info_path = QtWidgets.QLineEdit(self.centralwidget)
        self.info_path.setGeometry(QtCore.QRect(1159, 920, 261, 20))
        self.info_path.setStyleSheet("background-color: rgba(0,0, 255, 50);")
        self.info_path.setFrame(False)
        self.info_path.setObjectName("info_path")
        self.info_video = QtWidgets.QLineEdit(self.centralwidget)
        self.info_video.setGeometry(QtCore.QRect(880, 920, 261, 20))
        self.info_video.setStyleSheet("background-color: rgba(0,0, 255, 50);")
        self.info_video.setFrame(False)
        self.info_video.setObjectName("info_video")
        self.label_3 = QtWidgets.QLabel(self.centralwidget)
        self.label_3.setGeometry(QtCore.QRect(880, 900, 111, 16))
        font = QtGui.QFont()
        font.setPointSize(8)
        self.label_3.setFont(font)
        self.label_3.setObjectName("label_3")
        self.label_4 = QtWidgets.QLabel(self.centralwidget)
        self.label_4.setGeometry(QtCore.QRect(1160, 900, 111, 16))
        font = QtGui.QFont()
        font.setPointSize(8)
        self.label_4.setFont(font)
        self.label_4.setObjectName("label_4")
        self.banner.raise_()
        self.tabWidget.raise_()
        self.date.raise_()
        self.version.raise_()
        self.info_path.raise_()
        self.info_video.raise_()
        self.label_3.raise_()
        self.label_4.raise_()
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1700, 21))
        self.menubar.setObjectName("menubar")
        self.menuAbout = QtWidgets.QMenu(self.menubar)
        self.menuAbout.setObjectName("menuAbout")
        self.menuFile = QtWidgets.QMenu(self.menubar)
        self.menuFile.setObjectName("menuFile")
        MainWindow.setMenuBar(self.menubar)
        self.actionFlex = QtWidgets.QAction(MainWindow)
        self.actionFlex.setObjectName("actionFlex")
        self.actionsave = QtWidgets.QAction(MainWindow)
        self.actionsave.setObjectName("actionsave")
        self.actionrestart = QtWidgets.QAction(MainWindow)
        self.actionrestart.setObjectName("actionrestart")
        self.actionclose = QtWidgets.QAction(MainWindow)
        self.actionclose.setObjectName("actionclose")
        self.actioncredit = QtWidgets.QAction(MainWindow)
        self.actioncredit.setObjectName("actioncredit")
        self.actionversion = QtWidgets.QAction(MainWindow)
        self.actionversion.setObjectName("actionversion")
        self.actionRestart = QtWidgets.QAction(MainWindow)
        self.actionRestart.setObjectName("actionRestart")
        self.menuAbout.addAction(self.actioncredit)
        self.menuAbout.addSeparator()
        self.menuAbout.addAction(self.actionversion)
        self.menuFile.addAction(self.actionclose)
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuAbout.menuAction())

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        self.stacked_import.setCurrentIndex(0)
        self.stacked_calibration.setCurrentIndex(0)
        self.stacked_post.setCurrentIndex(0)
        self.stacked_multi.setCurrentIndex(0)
        self.crop_button.clicked.connect(MainWindow.crop)
        self.enable_ROI.clicked.connect(MainWindow.ROI)
        self.lockin_button.clicked.connect(MainWindow.lockIn)
        self.set_button.clicked.connect(MainWindow.setParam)
        self.resume.clicked.connect(MainWindow.resume)
        self.median_filter.stateChanged['int'].connect(MainWindow.disableProgress)
        self.accept.clicked.connect(MainWindow.accept)
        self.pushButton_6.clicked.connect(MainWindow.resumeLock)
        self.resume.clicked.connect(MainWindow.cropDisabled)
        self.filterLock.clicked.connect(MainWindow.filterLock)
        self.open_button.clicked.connect(MainWindow.importVideo)
        self.filterLock_2.clicked.connect(MainWindow.calibration)
        self.enable_filter.clicked.connect(MainWindow.enableGaussian)
        self.enable_ROI.clicked.connect(MainWindow.cropEnabled)
        self.select_calibration.currentIndexChanged['int'].connect(self.stacked_calibration.setCurrentIndex)
        self.gauge_button.clicked.connect(MainWindow.gaugePosition)
        self.save.clicked.connect(MainWindow.goSave)
        self.cal_save.clicked.connect(MainWindow.applyCalibration)
        self.path_button.clicked.connect(MainWindow.addPath)
        self.createfolder_button.clicked.connect(MainWindow.createFolder)
        self.open_folder.clicked.connect(MainWindow.openFolder)
        self.pushButton_8.clicked.connect(MainWindow.save)
        self.data_format.stateChanged['int'].connect(MainWindow.disableData)
        self.pushButton_3.clicked.connect(MainWindow.getGaugePosition)
        self.pushButton_4.clicked.connect(MainWindow.returnPost)
        self.pushButton_2.clicked.connect(MainWindow.returnPost)
        self.slider_graph.sliderMoved['int'].connect(MainWindow.switchGraph)
        self.slider_frame.valueChanged['int'].connect(MainWindow.changeFrame)
        self.slider_frame.sliderMoved['int'].connect(self.lcd.display)
        self.back_import.clicked.connect(MainWindow.returnImport)
        self.search_frequency.clicked.connect(MainWindow.searchFrequency)
        self.sampling_freq.textChanged['QString'].connect(MainWindow.enableFreq)
        self.load_freq.textChanged['QString'].connect(MainWindow.enableFreq)
        self.auto_freq.clicked.connect(MainWindow.autoDetect)
        self.slider_freq.valueChanged['int'].connect(MainWindow.rescaleFreq)
        self.slider_freq.valueChanged['int'].connect(self.start_frame.setValue)
        self.start_frame.valueChanged['int'].connect(self.slider_freq.setValue)
        self.button_line.pressed.connect(self.button_point.toggle)
        self.button_point.pressed.connect(self.button_line.toggle)
        self.button_point.pressed.connect(self.button_area.toggle)
        self.back_post.clicked.connect(MainWindow.returnPost)
        self.temp_plot.clicked.connect(MainWindow.goTemporal)
        self.search_frequency_2.clicked.connect(MainWindow.temporalPlot)
        self.button_point.clicked.connect(MainWindow.enablePoint)
        self.button_line.clicked.connect(MainWindow.enableLine)
        self.button_area.clicked.connect(MainWindow.enableArea)
        self.slider_plot.valueChanged['int'].connect(MainWindow.rescaleTemp)
        self.slider_plot.valueChanged['int'].connect(self.search_frequency_2.click)
        self.start_frame_2.valueChanged['int'].connect(self.slider_plot.setValue)
        self.slider_plot.valueChanged['int'].connect(self.start_frame_2.setValue)
        self.num_sample_2.valueChanged['int'].connect(self.search_frequency_2.click)
        self.num_sample.valueChanged['int'].connect(self.search_frequency.click)
        self.slider_freq.valueChanged['int'].connect(self.search_frequency.click)
        self.min_freq.valueChanged['int'].connect(self.search_frequency.click)
        self.max_freq.valueChanged['int'].connect(self.search_frequency.click)
        self.legend_plot.clicked.connect(self.search_frequency_2.click)
        self.refresh.clicked.connect(MainWindow.changeLimit)
        self.refresh_resume.clicked.connect(MainWindow.resumeLock)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.importvideo_box.setTitle(_translate("MainWindow", "Import Video"))
        self.open_button.setText(_translate("MainWindow", "Load..."))
        self.label_6.setText(_translate("MainWindow", "Width [pixel]"))
        self.label_7.setText(_translate("MainWindow", "Height [pixel]"))
        self.label_9.setText(_translate("MainWindow", "# Frames"))
        self.median_filter.setText(_translate("MainWindow", "Enable Median Filter"))
        self.param_box.setTitle(_translate("MainWindow", "Set Parameters"))
        self.set_button.setText(_translate("MainWindow", "Set"))
        self.label_19.setText(_translate("MainWindow", "Sample Freq. [Hz]"))
        self.label_14.setText(_translate("MainWindow", "Load Freq. [Hz]"))
        self.auto_freq.setText(_translate("MainWindow", "Frequency autodetect..."))
        self.ROI_box.setTitle(_translate("MainWindow", "ROI selection"))
        self.enable_ROI.setText(_translate("MainWindow", "Enable ROI selection..."))
        self.accept.setText(_translate("MainWindow", "Save..."))
        self.label_10.setText(_translate("MainWindow", "X1"))
        self.crop_button.setText(_translate("MainWindow", "Crop..."))
        self.label_12.setText(_translate("MainWindow", "Y1"))
        self.label_16.setText(_translate("MainWindow", "Y2"))
        self.label_11.setText(_translate("MainWindow", "X2"))
        self.resume.setText(_translate("MainWindow", "Resume"))
        self.lockin_button.setText(_translate("MainWindow", "Lock-In Analysis"))
        self.frame_slider.setTitle(_translate("MainWindow", "Frame Slider"))
        self.back_import.setText(_translate("MainWindow", "Back"))
        self.groupBox_9.setTitle(_translate("MainWindow", "Parameters"))
        self.label_2.setText(_translate("MainWindow", "to"))
        self.label_33.setText(_translate("MainWindow", "Frequeny Span [Hz]"))
        self.search_frequency.setText(_translate("MainWindow", "Analyze..."))
        self.label_34.setText(_translate("MainWindow", "Load Frequency [Hz]"))
        self.label_35.setText(_translate("MainWindow", "n°  Sample to Analyze"))
        self.label_36.setText(_translate("MainWindow", "Starting Frame"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.import_video), _translate("MainWindow", "Import Video"))
        self.filtering_box.setTitle(_translate("MainWindow", "Filtering"))
        self.filterLock.setText(_translate("MainWindow", "Apply..."))
        self.pushButton_6.setText(_translate("MainWindow", "Resume"))
        self.kernel_combobox.setItemText(0, _translate("MainWindow", "3x3"))
        self.kernel_combobox.setItemText(1, _translate("MainWindow", "5x5"))
        self.label_5.setText(_translate("MainWindow", "Scale Factor"))
        self.label_8.setText(_translate("MainWindow", "Kernel Size"))
        self.colormap.setItemText(0, _translate("MainWindow", "magma"))
        self.colormap.setItemText(1, _translate("MainWindow", "inferno"))
        self.colormap.setItemText(2, _translate("MainWindow", "viridis"))
        self.colormap.setItemText(3, _translate("MainWindow", "seismic"))
        self.colormap.setItemText(4, _translate("MainWindow", "cool"))
        self.colormap.setItemText(5, _translate("MainWindow", "Spectral"))
        self.colormap.setItemText(6, _translate("MainWindow", "tab20b"))
        self.label_15.setText(_translate("MainWindow", "Change plot colormap"))
        self.enable_filter.setText(_translate("MainWindow", "Enable Gaussian Filter"))
        self.filter.setText(_translate("MainWindow", "Filter: OFF"))
        self.label_18.setText(_translate("MainWindow", "Load Frequency [Hz]"))
        self.label_17.setText(_translate("MainWindow", "Sampling Frequency [Hz]"))
        self.km_text.setText(_translate("MainWindow", "None"))
        self.label_30.setText(_translate("MainWindow", "Calibration Factor"))
        self.calibration_box.setTitle(_translate("MainWindow", "Calibration"))
        self.calibration_material.setItemText(0, _translate("MainWindow", "Alluminium - Km = 8.8E-6 [1/MPa]"))
        self.calibration_material.setItemText(1, _translate("MainWindow", "Epoxy - Km = 6.2E-5 [1/MPa]"))
        self.calibration_material.setItemText(2, _translate("MainWindow", "Steel - Km = 3.5E-6 [1/MPa]"))
        self.calibration_material.setItemText(3, _translate("MainWindow", "Titanium - Km = 3.5E-6 [1/MPa]"))
        self.label_21.setText(_translate("MainWindow", "Km [1/MPa]"))
        self.label_22.setText(_translate("MainWindow", "*10^"))
        self.label_23.setText(_translate("MainWindow", "Young Modulus [Mpa]"))
        self.label_24.setText(_translate("MainWindow", "Poisson Ratio"))
        self.label_25.setText(_translate("MainWindow", "Strain [eps]"))
        self.gauge_button.setText(_translate("MainWindow", "Set Gauge Position..."))
        self.filterLock_2.setText(_translate("MainWindow", "Try..."))
        self.select_calibration.setItemText(0, _translate("MainWindow", "General Materials"))
        self.select_calibration.setItemText(1, _translate("MainWindow", "Custom Materials"))
        self.select_calibration.setItemText(2, _translate("MainWindow", "Strain Gauge"))
        self.label_20.setText(_translate("MainWindow", "Type of Calibration"))
        self.cal_save.setText(_translate("MainWindow", "Save..."))
        self.groupBox_3.setTitle(_translate("MainWindow", "Rescale Colormap"))
        self.refresh.setText(_translate("MainWindow", "Apply..."))
        self.label_39.setText(_translate("MainWindow", "Down limit"))
        self.label_42.setText(_translate("MainWindow", "Up limit"))
        self.refresh_resume.setText(_translate("MainWindow", "Resume"))
        self.save_box.setTitle(_translate("MainWindow", "Save Results"))
        self.pushButton_8.setText(_translate("MainWindow", "Save"))
        self.plot_format.setText(_translate("MainWindow", " Plot"))
        self.data_format.setText(_translate("MainWindow", "Data"))
        self.csv.setText(_translate("MainWindow", ".cvs"))
        self.npy.setText(_translate("MainWindow", ".npy"))
        self.label_29.setText(_translate("MainWindow", "Project Name..."))
        self.project_name.setText(_translate("MainWindow", "Project"))
        self.folder_box.setTitle(_translate("MainWindow", "Create Folder and add Work Path"))
        self.label_27.setText(_translate("MainWindow", "Work Path ..."))
        self.path_button.setText(_translate("MainWindow", "Add path ..."))
        self.open_folder.setText(_translate("MainWindow", "..."))
        self.label_28.setText(_translate("MainWindow", "Insert Folder Name..."))
        self.createfolder_button.setText(_translate("MainWindow", "Create Folder"))
        self.pushButton_4.setText(_translate("MainWindow", "Back"))
        self.pushButton_2.setText(_translate("MainWindow", "Back"))
        self.groupBox_2.setTitle(_translate("MainWindow", "Strain Gauge Position"))
        self.pushButton_3.setText(_translate("MainWindow", "Get position..."))
        self.label_13.setText(_translate("MainWindow", "Coordinate [px]"))
        self.label_26.setText(_translate("MainWindow", "Mean Temperature [°C]"))
        self.legend_plot.setText(_translate("MainWindow", "Enable Legend"))
        self.groupBox_11.setTitle(_translate("MainWindow", "Parameters"))
        self.search_frequency_2.setText(_translate("MainWindow", "Plot..."))
        self.label_40.setText(_translate("MainWindow", "n°  Sample to plot"))
        self.label_41.setText(_translate("MainWindow", "Starting Frame"))
        self.button_point.setText(_translate("MainWindow", "Point"))
        self.button_line.setText(_translate("MainWindow", "Line"))
        self.button_area.setText(_translate("MainWindow", "Area"))
        self.results_box.setTitle(_translate("MainWindow", "Results"))
        self.label.setText(_translate("MainWindow", "Min"))
        self.label_37.setText(_translate("MainWindow", "Max"))
        self.label_38.setText(_translate("MainWindow", "Mean"))
        self.back_post.setText(_translate("MainWindow", "Back"))
        self.filter_2.setText(_translate("MainWindow", "Calibration: OFF"))
        self.save.setText(_translate("MainWindow", "Export/Save Data"))
        self.temporal_box.setTitle(_translate("MainWindow", "Temporal Plot"))
        self.temp_plot.setText(_translate("MainWindow", "temporal plot..."))
        self.label_31.setText(_translate("MainWindow", "MAG"))
        self.label_32.setText(_translate("MainWindow", "PHA"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Post Processing"))
        self.label_3.setText(_translate("MainWindow", "Video Path"))
        self.label_4.setText(_translate("MainWindow", "Work Path"))
        self.menuAbout.setTitle(_translate("MainWindow", "About"))
        self.menuFile.setTitle(_translate("MainWindow", "File"))
        self.actionFlex.setText(_translate("MainWindow", "Flex"))
        self.actionsave.setText(_translate("MainWindow", "Save..."))
        self.actionrestart.setText(_translate("MainWindow", "Restart"))
        self.actionclose.setText(_translate("MainWindow", "Close"))
        self.actioncredit.setText(_translate("MainWindow", "Credit"))
        self.actionversion.setText(_translate("MainWindow", "Version"))
        self.actionRestart.setText(_translate("MainWindow", "Restart"))
from mplwidget import MplWidget
import source_rc
