obspy.core.inventory.response.PolesZerosResponseStage

class PolesZerosResponseStage(stage_sequence_number, stage_gain, stage_gain_frequency, input_units, output_units, pz_transfer_function_type, normalization_frequency, zeros, poles, normalization_factor=1.0, resource_id=None, resource_id2=None, name=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

From the StationXML Definition:

Response: complex poles and zeros. Corresponds to SEED blockette 53.

The response stage is used for the analog stages of the filter system and the description of infinite impulse response (IIR) digital filters.

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

Parameters:
  • pz_transfer_function_type (str) –

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

    • LAPLACE (RADIANS/SECOND)

    • LAPLACE (HERTZ)

    • DIGITAL (Z-TRANSFORM)

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

  • normalization_frequency (float) – The frequency at which the normalization factor is normalized.

  • zeros (list[complex]) – All zeros of the stage.

  • poles (list[complex]) – All poles of the stage.

  • normalization_factor (float, optional)

Attributes

normalization_frequency

poles

pz_transfer_function_type

zeros

Public Methods

to_radians_per_second

Convert to type 'LAPLACE (RADIANS/SECOND)'

Private Methods

Warning

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

PolesZerosResponseStage._repr_pretty_(p, cycle)[source]

Special Methods

PolesZerosResponseStage.__delattr__(name, /)

Implement delattr(self, name).

PolesZerosResponseStage.__dir__()

Default dir() implementation.

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

Default object formatter.

PolesZerosResponseStage.__ge__(value, /)

Return self>=value.

PolesZerosResponseStage.__getattribute__(name, /)

Return getattr(self, name).

PolesZerosResponseStage.__gt__(value, /)

Return self>value.

PolesZerosResponseStage.__init__(stage_sequence_number, stage_gain, stage_gain_frequency, input_units, output_units, pz_transfer_function_type, normalization_frequency, zeros, poles, normalization_factor=1.0, resource_id=None, resource_id2=None, name=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]
PolesZerosResponseStage.__init_subclass__()

This method is called when a class is subclassed.

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

PolesZerosResponseStage.__le__(value, /)

Return self<=value.

PolesZerosResponseStage.__lt__(value, /)

Return self<value.

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

Helper for pickle.

PolesZerosResponseStage.__reduce_ex__(protocol, /)

Helper for pickle.

PolesZerosResponseStage.__repr__()

Return repr(self).

PolesZerosResponseStage.__setattr__(name, value, /)

Implement setattr(self, name, value).

PolesZerosResponseStage.__sizeof__()

Size of object in memory, in bytes.

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