obspy.core.inventory.response.Response¶
- class Response(resource_id=None, instrument_sensitivity=None, instrument_polynomial=None, response_stages=None)[source]¶
Bases: obspy.core.util.base.ComparingObject
The root response object.
Attributes
__dict__ __doc__ str(object=’‘) -> str __hash__ __module__ str(object=’‘) -> str __weakref__ list of weak references to the object (if defined) Public Methods
from_paz Convert poles and zeros lists into a single-stage response. get_evalresp_response Returns frequency response and corresponding frequencies using evalresp. get_evalresp_response_for_frequencies Returns frequency response for given frequencies using evalresp. get_paz Get Poles and Zeros stage. get_sacpz Returns SACPZ ASCII text representation of Response. get_sampling_rates Computes the input and output sampling rates of each stage. plot Show bode plot of instrument response. recalculate_overall_sensitivity Recalculates the overall sensitivity. Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
_attempt_to_fix_units Internal helper function that will add units to gain only stages based on the units of surrounding stages. _call_eval_resp_for_frequencies Returns frequency response for given frequencies using evalresp. _get_overall_sensitivity_and_gain Get the overall sensitivity and gain from stages 1 to N. _repr_pretty_ Special Methods
__dir__ default dir() implementation __eq__ __format__ default object formatter __init__ type resource_id: str __ne__ __new__ Create and return a new object. __reduce__ helper for pickle __reduce_ex__ helper for pickle __sizeof__ size of object in memory, in bytes __str__ __subclasshook__ Abstract classes can override this to customize issubclass().