obspy.core.stream.Stream.__mul__

Stream.__mul__(num)[source]

Create a new Stream containing num copies of this stream.

Rtype num:int
Parameters:num Number of copies.
Returns:New ObsPy Stream object.

Example

>>> from obspy import read
>>> st = read()
>>> len(st)
3
>>> st2 = st * 5
>>> len(st2)
15