Returns a dictionary containing the contents of the object.
Example >>> from obspy import read_inventory >>> example_filename = “/path/to/IRIS_single_channel_with_response.xml” >>> inventory = read_inventory(example_filename) >>> network = inventory.networks[0] >>> network.get_contents() # doctest: +NORMALIZE_WHITESPACE {‘channels’: [‘IU.ANMO.10.BHZ’],
‘stations’: [u’IU.ANMO (Albuquerque, New Mexico, USA)’]}