obspy.signal.differentiate_and_integrate.integrate_spline

integrate_spline(data, dx, k=3, **kwargs)[source]

Integrate by generating an interpolating spline and integrating that.

Parameters
  • data – The data to integrate.

  • dx – Sample spacing usually in seconds.

  • k – Spline order. 1 is linear, 2 quadratic, 3 cubic, Must be between 1 and 5.