Coefficients

Description

The Coeffcients class is a reprentation of a finite impulse response (FIR) filter, which is a filter whose impulse response (or response to any finite length input) is of finite duration, because it settles to zero in finite time. It is used mainly for FIR filters which are not symmetric. A symmetric FIR filter should use the FIR class.

The impulse response (that is, the output in response to a Kronecker delta input) of an Nth-order discrete-time FIR filter lasts exactly N + 1 samples (from first nonzero element through last nonzero element) before it then settles to zero. FIR filters can be discrete-time or continuous-time, and digital or analog.

For a more detailed discussion, click here.

Python class:

Coefficients

YAML / JSON label:

Coefficients

Corresponding StationXML structure

Coefficients

Object Hierarchy

Superclass

Filter

Subclasses

Relationships

Attributes

Name

Type

Required

Default

Equivalent StationXML

Remarks

transfer_function_type

List of values:

LAPLACE (RADIANS/SECOND), LAPLACE (HERTZ), DIGITAL (Z-TRANFORM)

N

LAPLACE (RADIANS/SECOND)

PzTransferFunctionType

More info…

numerator_coefficients

List of numbers

Y

None

Numerator

denominator_coefficients

List of numbers

Y

None

Denominator

JSON schema

https://www.gitlab.com/resif/obsinfo/-/tree/master/obsinfo/data/schemas/filter.schema.json

https://www.gitlab.com/resif/obsinfo/-/tree/master/obsinfo/data/schemas/definitions.schema.json

Example

---
format_version: "0.110"
filter:
    type: "Coefficients"
    numerator_coefficients:
         [1, 0.1, -0.3, 0.6]
    denominator_coefficients:
         [-0.2, 0.8, 0.4, -0.3]

Class Navigation

Filter <==