obspy.core.inventory.response.ResponseListElement

class ResponseListElement(frequency, amplitude, phase)[source]

Bases: ComparingObject

Describes the amplitude and phase response value for a discrete frequency value.

Attributes

amplitude

frequency

phase

Special Methods

ResponseListElement.__delattr__(name, /)

Implement delattr(self, name).

ResponseListElement.__dir__()

Default dir() implementation.

ResponseListElement.__eq__(other)
ResponseListElement.__format__(format_spec, /)

Default object formatter.

ResponseListElement.__ge__(value, /)

Return self>=value.

ResponseListElement.__getattribute__(name, /)

Return getattr(self, name).

ResponseListElement.__gt__(value, /)

Return self>value.

ResponseListElement.__init__(frequency, amplitude, phase)[source]
Parameters:
  • frequency (float) – The frequency for which the response is valid.

  • amplitude (float) – The value for the amplitude response at this frequency.

  • phase (float) – The value for the phase response at this frequency.

ResponseListElement.__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

ResponseListElement.__le__(value, /)

Return self<=value.

ResponseListElement.__lt__(value, /)

Return self<value.

ResponseListElement.__ne__(other)
ResponseListElement.__new__(**kwargs)
ResponseListElement.__reduce__()

Helper for pickle.

ResponseListElement.__reduce_ex__(protocol, /)

Helper for pickle.

ResponseListElement.__repr__()

Return repr(self).

ResponseListElement.__setattr__(name, value, /)

Implement setattr(self, name, value).

ResponseListElement.__sizeof__()

Size of object in memory, in bytes.

ResponseListElement.__str__()

Return str(self).

ResponseListElement.__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).