GUI/rrWidgets.py
def applyFilter(self):
        '''get filter frequency from textbox and apply the filter to a single scan'''
        freq = float(self.filterLowPassFreq.text())
        self.scanData.trace = self.scanData.rawtrace
        nyqfreq = self.scanData.nyqistFreq()

        if freq != 0 and freq < nyqfreq:

            cutfactor = freq / nyqfreq
            self.scanData.filterit(cutHigh=cutfactor)

        self.plotScanData()
get filter frequency from textbox and apply the filter to a single scan
get filter frequency from textbox and apply the filter to a single scan
get filter frequency from textbox and apply the filter to a single scan
def applyFilter(self):
        freq = float(self.filterLowPassFreq.text())
        self.scanData.trace = self.scanData.rawtrace
        nyqfreq = self.scanData.nyqistFreq()
        if freq != 0 and freq < nyqfreq:
            cutfactor = freq / nyqfreq
            self.scanData.filterit(cutHigh=cutfactor)
        self.plotScanData()
def applyFilter ( self ) : freq = float ( self . filterLowPassFreq . text ( ) ) self . scanData . trace = self . scanData . rawtrace nyqfreq = self . scanData . nyqistFreq ( ) if freq != 0 and freq < nyqfreq : cutfactor = freq / nyqfreq self . scanData . filterit ( cutHigh = cutfactor ) self . plotScanData ( )
get filter frequency from textbox and apply the filter to a single scan
get filter frequency from textbox and apply the filter to a single scan
'''get filter frequency from textbox and apply the filter to a single scan'''
self