sk_dsp_comm/multirate_helper.py
def dn(self,x,M_change = 12):
        """
        Downsample and filter the signal
        """
        y = signal.lfilter(self.b,[1],x)
        y = ssd.downsample(y,M_change)
        return y
def dn(self,x,M_change = 12):
        """
        Downsample and filter the signal
        """
        y = signal.lfilter(self.b,[1],x)
        y = ssd.downsample(y,M_change)
        return y
def dn ( self , x , M_change = 12 ) : y = signal . lfilter ( self . b , [ 1 ] , x ) y = ssd . downsample ( y , M_change ) return y
Downsample and filter the signal
Downsample and filter the signal