def filter(self,x):
        """
        Filter the signal
        """
        y = signal.lfilter(self.b,[1],x)
        return y
def filter(self,x):
        """
        Filter the signal
        """
        y = signal.lfilter(self.b,[1],x)
        return y
def filter ( self , x ) : y = signal . lfilter ( self . b , [ 1 ] , x ) return y
Filter the signal
Filter the signal