<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def smooth(sig, window_size):
 """ Apply a uniform moving average filter to a signal Parameters sig : numpy array The signal to smooth. window_size : int The width of the moving average filter. """

    box = np.ones(window_size)/window_size
    return np.convolve(sig, box, mode='same')