__eq__ method of the Catalog object.
Parameters: | other (Catalog) Catalog object for comparison. |
---|---|
Return type: | bool |
Returns: | True if both Catalogs contain the same events. |
Example
>>> from obspy.core.event import readEvents
>>> cat = readEvents()
>>> cat2 = cat.copy()
>>> cat is cat2
False
>>> cat == cat2
True