obspy.core.stream.Stream.__len__

Stream.__len__()[source]

Return the number of Traces in the Stream object.

Example

>>> stream = Stream([Trace(), Trace(), Trace()])
>>> len(stream)
3