obspy.core.trace.Trace._get_response

Trace._get_response(inventories)[source]

Search for and return channel response for the trace.

Parameters:inventories (Inventory or Network or a list containing objects of these types or a string with a filename of a StationXML file.) Station metadata to use in search for response for each trace in the stream.
Returns:obspy.core.inventory.response.Response object