def conv(x, y, mode=2):
 warnings.warn("Use numpy.convolve(x, y, mode='full')", DeprecationWarning)
 return np.convolve(x, y, mode)

def conv ( x , y , mode = 2 ) : warnings . warn ( "Use numpy.convolve(x, y, mode='full')" , DeprecationWarning ) return np . convolve ( x , y , mode )
convolve x with y .