obspy.signal.util.smooth

smooth(x, smoothie)[source]

Smooths a given signal by computing a central moving average.

Parameters
  • x – signal to smooth

  • smoothie – number of past/future values to calculate moving average

Return out

smoothed signal