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__
__hash__
__module__
__weakref__
list of weak references to the object (if defined) Public Methods
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__
Return self==value. __format__
Default object formatter. __init__
type resource_id: str __init_subclass__
This method is called when a class is subclassed. __ne__
Return self!=value. __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__
Return str(self). __subclasshook__
Abstract classes can override this to customize issubclass().