def polarplotcfg(self): degree=int(self.polarplotvalues['Radius in Grad']) freq=int(self.polarplotvalues['Frequenz']) cfgvalues=['Polardiagramm Konfiguration',['Radius in Grad','e',str(degree)],['Frequenz','e',str(freq)]] self.polarplotvalues=cfgdlg(cfgvalues) self.fig.clear() self.polarplot()
def welchplotcfg(self): nfft=self.welchplotvalues['NFFT'] window=self.welchplotvalues['window'] noverlap=self.welchplotvalues['noverlap'] padto=self.welchplotvalues['padto'] cfgvalues=['Welch-Periodogramm Konfiguration',['NFFT','e',str(nfft)],['window','cbro',window,'boxcar', 'triang', 'blackman', 'hamming', 'hann', 'bartlett', 'flattop', 'parzen', 'bohman', 'blackmanharris', 'nuttall', 'barthann'],['noverlap','e',str(noverlap)],['padto','e',padto]] self.welchplotvalues=cfgdlg(cfgvalues) self.fig.clear() self.welchplot()
def specplotcfg(self): nfft=self.specplotvalues['NFFT'] window=self.specplotvalues['window'] noverlap=self.specplotvalues['noverlap'] logarithmic=self.specplotvalues['Logarithmisch'] cfgvalues=['Spektrogramm Konfiguration',['NFFT','e',str(nfft)],['window','cbro',window,'boxcar', 'triang', 'blackman', 'hamming', 'hann', 'bartlett', 'flattop', 'parzen', 'bohman', 'blackmanharris', 'nuttall', 'barthann'],['noverlap','e',str(noverlap)],['Logarithmisch','c',logarithmic]] self.specplotvalues=cfgdlg(cfgvalues) self.fig.clear() self.specplot()
def wvplotcfg(self): linestyle=self.wvplotvalues['Linienart'] drawmode=self.wvplotvalues['Zeichenmodus'] filteract=self.wvplotvalues['Filter'] bandstart=self.wvplotvalues['Startfrequenz'] bandstop=self.wvplotvalues['Endfrequenz'] filterorder=self.wvplotvalues['Filterordnung'] cfgvalues=['Wellenform Konfiguration',['Linienart','cbro',linestyle,'-','--','-.',':','.','None'],['Zeichenmodus','cbro',drawmode,'default' ,'steps' ,'steps-mid','steps-post'],['Filter','c',filteract],['Startfrequenz','e',bandstart],['Endfrequenz','e',bandstop],['Filterordnung','e',filterorder]] self.wvplotvalues=cfgdlg(cfgvalues) self.fig.clear() self.wvplot()