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) >>> station = inventory.networks[0].stations[0] >>> station.get_contents() # doctest: +NORMALIZE_WHITESPACE {‘channels’: [‘ANMO.10.BHZ’],
‘stations’: [u’ANMO (Albuquerque, New Mexico, USA)’]}