obspy.signal.differentiate_and_integrate.integrate_cumtrapz

integrate_cumtrapz(data, dx, **kwargs)[source]

Performs first order integration of data using the trapezoidal rule.

Parameters:
  • data – Data array to integrate.

  • dx – Sample spacing usually in seconds.