obspy.realtime.rttrace.RtTrace.integrate
- RtTrace.integrate(method='cumtrapz', **options)
Integrate the trace with respect to time.
Supported Methods
'cumtrapz'
First order integration of data using the trapezoidal rule. Uses
integrate_cumtrapz()
'spline'
Integrates by generating an interpolating spline and integrating that. Uses
integrate_spline()
Note
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 instats.processing
of this trace.