Ejemplo n.º 1
0
    def PltVsVgsClick(self):
        self.PlotVgs = PyFETpl.PyFETPlot()

        Axs = []
        for ck in self.GrpVgs.findChildren(QtWidgets.QCheckBox):
            if ck.isChecked(): Axs.append(ck.text())

        self.PlotVgs.AddAxes(Axs)

        PltUd0 = self.ChkVd0.isChecked()
        PltIsOk = self.ChkIsOK.isChecked()

        for Rad in self.GrpVsVgsColor.findChildren(QtWidgets.QRadioButton):
            if Rad.isChecked(): cPar = Rad.text()

        Trts = []
        for TrtN in self.LstTrt.selectedItems():
            Trts.append(TrtN.text())

        self.PlotVgs.PlotDataSet(self.Data,
                                 Trts,
                                 PltUd0=PltUd0,
                                 PltIsOK=PltIsOk,
                                 ColorOn=cPar)

        self.PlotVgs.AddLegend()
Ejemplo n.º 2
0
    def ButPltVsXClick(self):

        self.PlotXX = PyFETpl.PyFETPlotParam()

        Axs = []
        for ck in self.GrpYY.findChildren(QtWidgets.QCheckBox):
            if ck.isChecked():
                Axs.append(ck.text())

        if len(Axs) == 0:
            return

        Bias = (None, self.SpinVgs.value())
        for Rad in self.GrpXVar.findChildren(QtWidgets.QRadioButton):
            if Rad.isChecked():
                xVar = Rad.text()

        PltUd0 = self.ChkVd0YY.isChecked()

        self.PlotXX.AddAxes(Axs, xVar)

        Trts = []
        for TrtN in self.LstTrt.selectedItems():
            Trts.append(TrtN.text())

        self.PlotXX.PlotDataSet(self.Data, Trts, xVar, Bias, PltUd0=PltUd0)
Ejemplo n.º 3
0
 def CreateNewPlotFreq(self):
     print('New plot')
     self.PlotFreq = PyFETpl.PyFETPlot()
     Axs = []
     for ck in self.GrpFreq.findChildren(QtWidgets.QCheckBox):
         if ck.isChecked():
             Axs.append(ck.text())
     self.PlotFreq.AddAxes(Axs)
Ejemplo n.º 4
0
 def ButViewDCClick(self):
     self.GetDataFromDb(DC=True)
     Plot = PyFETpl.PyFETPlot()
     Plot.AddAxes(self.ViewAxsDC)
     Plot.PlotDataSet(self.DataDC, self.DataDC.keys(), PltIsOK=True)
     Plot.AddLegend()
Ejemplo n.º 5
0
 def ButViewACClick(self):
     self.GetDataFromDb(AC=True)
     Plot = PyFETpl.PyFETPlot()
     Plot.AddAxes(self.ViewAxsAC)
     Plot.PlotDataSet(self.DataAC, self.DataAC.keys(), PltIsOK=True)
     Plot.AddLegend(Axn='GMPoly')