obspy.core.stream.Stream.integrate

Stream.integrate(method='cumtrapz', **options)[source]

Integrate all traces with respect to time.

For details see the corresponding integrate() method of Trace.

Parameters:

type – Method to use for integration. Defaults to 'cumtrapz'. See integrate() for further details.

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 stream object. This also makes an entry with information on the applied processing in stats.processing of every trace.