obspy.core.trace.Trace.split

Trace.split()[source]

Split Trace object containing gaps using a NumPy masked array into several traces.

Return type:

Stream

Returns:

Stream containing all split traces. A gapless trace will still be returned as Stream with only one entry.