obspy.core.inventory.response.FIRResponseStage

class FIRResponseStage(stage_sequence_number, stage_gain, stage_gain_frequency, input_units, output_units, symmetry='NONE', resource_id=None, resource_id2=None, name=None, coefficients=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: FIR filter. Corresponds to SEED blockette 61. FIR filters are also commonly documented using the CoefficientsType element.

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

Parameters:
  • symmetry (str) –

    A string describing the symmetry. Can be one of:

    • NONE

    • EVEN

    • ODD

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

Attributes

coefficients

symmetry

Private Methods

Warning

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

FIRResponseStage._repr_pretty_(p, cycle)

Special Methods

FIRResponseStage.__delattr__(name, /)

Implement delattr(self, name).

FIRResponseStage.__dir__()

Default dir() implementation.

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

Default object formatter.

FIRResponseStage.__ge__(value, /)

Return self>=value.

FIRResponseStage.__getattribute__(name, /)

Return getattr(self, name).

FIRResponseStage.__gt__(value, /)

Return self>value.

FIRResponseStage.__init__(stage_sequence_number, stage_gain, stage_gain_frequency, input_units, output_units, symmetry='NONE', resource_id=None, resource_id2=None, name=None, coefficients=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]
FIRResponseStage.__init_subclass__()

This method is called when a class is subclassed.

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

FIRResponseStage.__le__(value, /)

Return self<=value.

FIRResponseStage.__lt__(value, /)

Return self<value.

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

Helper for pickle.

FIRResponseStage.__reduce_ex__(protocol, /)

Helper for pickle.

FIRResponseStage.__repr__()

Return repr(self).

FIRResponseStage.__setattr__(name, value, /)

Implement setattr(self, name, value).

FIRResponseStage.__sizeof__()

Size of object in memory, in bytes.

FIRResponseStage.__str__()
FIRResponseStage.__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).