def smoothLine(data,kernel): """helper function parallelized by smooth""" return signal.fftconvolve(data,kernel, mode='same')