Implements rich comparison of Stream objects for “==” operator.
Parameters: | other (Stream) Stream object for comparison. |
---|---|
Return type: | bool |
Returns: | True if both Streams contain the same traces, i.e. after a sort operation going through both streams every trace should be equal according to Trace’s __eq__() operator. |
Example
>>> from obspy import read
>>> st = read()
>>> st2 = st.copy()
>>> st is st2
False
>>> st == st2
True