obspy.core.inventory.response.CoefficientsTypeResponseStage

class CoefficientsTypeResponseStage(stage_sequence_number, stage_gain, stage_gain_frequency, input_units, output_units, cf_transfer_function_type, resource_id=None, resource_id2=None, name=None, numerator=None, denominator=None, input_units_description=None, output_units_description=None, description=None, decimation_input_sample_rate=None, decimation_factor=None, decimation_offset=None, decimation_delay=None, decimation_correction=None)[source]

Bases: ResponseStage

This response type can describe coefficients for FIR filters. Laplace transforms and IIR filters can also be expressed using this type but should rather be described using the PolesZerosResponseStage class. Effectively corresponds to SEED blockette 54.

Has all the arguments of the parent class ResponseStage and the following:

Parameters:
  • cf_transfer_function_type (str) –

    A string describing the type of transfer function. Can be one of:

    • ANALOG (RADIANS/SECOND)

    • ANALOG (HERTZ)

    • DIGITAL

    The function tries to match inputs to one of three types if it can.

  • numerator (list of CoefficientWithUncertainties) – Numerator of the coefficient response stage.

  • denominator (list of CoefficientWithUncertainties) – Denominator of the coefficient response stage.

Attributes

cf_transfer_function_type

denominator

numerator

Private Methods

Warning

Private methods are mainly for internal/developer use and their API might change without notice.

CoefficientsTypeResponseStage._repr_pretty_(p, cycle)[source]

Special Methods

CoefficientsTypeResponseStage.__delattr__(name, /)

Implement delattr(self, name).

CoefficientsTypeResponseStage.__dir__()

Default dir() implementation.

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

Default object formatter.

CoefficientsTypeResponseStage.__ge__(value, /)

Return self>=value.

CoefficientsTypeResponseStage.__getattribute__(name, /)

Return getattr(self, name).

CoefficientsTypeResponseStage.__gt__(value, /)

Return self>value.

CoefficientsTypeResponseStage.__init__(stage_sequence_number, stage_gain, stage_gain_frequency, input_units, output_units, cf_transfer_function_type, resource_id=None, resource_id2=None, name=None, numerator=None, denominator=None, input_units_description=None, output_units_description=None, description=None, decimation_input_sample_rate=None, decimation_factor=None, decimation_offset=None, decimation_delay=None, decimation_correction=None)[source]
CoefficientsTypeResponseStage.__init_subclass__()

This method is called when a class is subclassed.

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

CoefficientsTypeResponseStage.__le__(value, /)

Return self<=value.

CoefficientsTypeResponseStage.__lt__(value, /)

Return self<value.

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

Helper for pickle.

CoefficientsTypeResponseStage.__reduce_ex__(protocol, /)

Helper for pickle.

CoefficientsTypeResponseStage.__repr__()

Return repr(self).

CoefficientsTypeResponseStage.__setattr__(name, value, /)

Implement setattr(self, name, value).

CoefficientsTypeResponseStage.__sizeof__()

Size of object in memory, in bytes.

CoefficientsTypeResponseStage.__str__()[source]
CoefficientsTypeResponseStage.__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).