obspy.core.inventory.response.InstrumentPolynomial

class InstrumentPolynomial(input_units, output_units, frequency_lower_bound, frequency_upper_bound, approximation_lower_bound, approximation_upper_bound, maximum_error, coefficients, approximation_type='MACLAURIN', resource_id=None, name=None, input_units_description=None, output_units_description=None, description=None)[source]

Bases: ComparingObject

From the StationXML Definition:

The total sensitivity for a channel, representing the complete acquisition system expressed as a polynomial. Equivalent to SEED stage 0 polynomial (blockette 62).

Attributes

approximation_type

Special Methods

InstrumentPolynomial.__delattr__(name, /)

Implement delattr(self, name).

InstrumentPolynomial.__dir__()

Default dir() implementation.

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

Default object formatter.

InstrumentPolynomial.__ge__(value, /)

Return self>=value.

InstrumentPolynomial.__getattribute__(name, /)

Return getattr(self, name).

InstrumentPolynomial.__gt__(value, /)

Return self>value.

InstrumentPolynomial.__init__(input_units, output_units, frequency_lower_bound, frequency_upper_bound, approximation_lower_bound, approximation_upper_bound, maximum_error, coefficients, approximation_type='MACLAURIN', resource_id=None, name=None, input_units_description=None, output_units_description=None, description=None)[source]
Parameters:
  • approximation_type (str) – Approximation type. Currently restricted to ‘MACLAURIN’ by StationXML definition.

  • frequency_lower_bound (float) – Lower frequency bound.

  • frequency_upper_bound (float) – Upper frequency bound.

  • approximation_lower_bound (float) – Lower bound of approximation.

  • approximation_upper_bound (float) – Upper bound of approximation.

  • maximum_error (float) – Maximum error.

  • coefficients (list[float]) – List of polynomial coefficients.

  • input_units – string

  • input_units – The units of the data as input from the perspective of data acquisition. After correcting data for this response, these would be the resulting units. Name of units, e.g. “M/S”, “V”, “PA”.

  • output_units – string

  • output_units – The units of the data as output from the perspective of data acquisition. These would be the units of the data prior to correcting for this response. Name of units, e.g. “M/S”, “V”, “PA”.

  • resource_id (str) – This field contains a string that should serve as a unique resource identifier. This identifier can be interpreted differently depending on the data center/software that generated the document. Also, we recommend to use something like GENERATOR:Meaningful ID. As a common behavior equipment with the same ID should contains the same information/be derived from the same base instruments.

  • name (str) – A name given to the filter stage.

  • input_units_description – string, optional

  • input_units_description – The units of the data as input from the perspective of data acquisition. After correcting data for this response, these would be the resulting units. Description of units, e.g. “Velocity in meters per second”, “Volts”, “Pascals”.

  • output_units_description (str, optional) – The units of the data as output from the perspective of data acquisition. These would be the units of the data prior to correcting for this response. Description of units, e.g. “Velocity in meters per second”, “Volts”, “Pascals”.

  • description (str, optional) – A short description of of the filter.

InstrumentPolynomial.__init_subclass__()

This method is called when a class is subclassed.

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

InstrumentPolynomial.__le__(value, /)

Return self<=value.

InstrumentPolynomial.__lt__(value, /)

Return self<value.

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

Helper for pickle.

InstrumentPolynomial.__reduce_ex__(protocol, /)

Helper for pickle.

InstrumentPolynomial.__repr__()

Return repr(self).

InstrumentPolynomial.__setattr__(name, value, /)

Implement setattr(self, name, value).

InstrumentPolynomial.__sizeof__()

Size of object in memory, in bytes.

InstrumentPolynomial.__str__()

Return str(self).

InstrumentPolynomial.__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).