obspy.core.stream.Stream.max

Stream.max()[source]

Get the values of the absolute maximum amplitudes of all traces in the stream. See max().

Returns

List of values of absolute maxima of all traces

Example

>>> from obspy import Trace, Stream
>>> tr1 = Trace(data=np.array([0, -3, 9, 6, 4]))
>>> tr2 = Trace(data=np.array([0, -3, -9, 6, 4]))
>>> tr3 = Trace(data=np.array([0.3, -3.5, 9.0, 6.4, 4.3]))
>>> st = Stream(traces=[tr1, tr2, tr3])
>>> st.max()
[9, -9, 9.0]