- Trace.integrate(method='cumtrapz', **options)¶
Integrate the trace with respect to time.
- First order integration of data using the trapezoidal rule. Uses obspy.signal.differentiate_and_integrate.integrate_cumtrapz()
- Integrates by generating an interpolating spline and integrating that. Uses obspy.signal.differentiate_and_integrate.integrate_spline()
This operation is performed in place on the actual data arrays. The raw data is not accessible anymore afterwards. To keep your original data, use copy() to create a copy of your trace object. This also makes an entry with information on the applied processing in stats.processing of this trace.