def neural_conv(fltr, inputs):
    s = len(inputs)
    x = np.convolve(fltr, inputs)
    extra = int(floor(len(fltr)/2))
    return x[extra: len(x) - extra]
Convolves fltr with inputs and removes extraneous values
dataset/ETHPy150Open robclewley/compneuro/WCcortexSTM.py/neural_conv