refactoring obspy.station.inventory.Inventory.get_response()