# obspy.core.stream.Stream.remove¶

Stream.remove(trace)[source]

Remove the first occurrence of the specified Trace object in the Stream object. Passes on the remove() call to self.traces.

Parameters: trace Trace object to be removed from Stream.

Example

This example shows how to delete all “E” component traces in a stream:

>>> from obspy import read