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
Subclasses
ADConversion
Relationships
Is nested in Stage
Attributes
Name |
Type |
Required |
Default |
Equivalent StationXML |
Remarks |
transfer_function_type |
|
N |
LAPLACE (RADIANS/SECOND) |
||
numerator_coefficients |
List of numbers |
Y |
None |
||
denominator_coefficients |
List of numbers |
Y |
None |
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]