GUI/TransientsWidgets.py
def filter_data_lowpass(self):  # todo: translate for TransientsSet(), is it really useful?
        """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.filter_low_pass(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 filter_data_lowpass(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.filter_low_pass(cutHigh=cutfactor)
        self.plotScanData()
def filter_data_lowpass ( 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 . filter_low_pass ( 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
# todo: translate for TransientsSet(), is it really useful?
 """get filter frequency from textbox and apply the filter to a single scan"""
self