pybic.boxcar_ave

pybic.boxcar_ave(x, N)[source]

Smooths data, attempts to return correct amplitudes.

Parameters:
  • x (ndarray) – Input data.

  • N (int) – Number of samples to smooth.

Returns:

Smoothed data.

Return type:

ndarray