#include <iir_hpf.h>
Collaboration diagram for SPUC::iir_hpf< Numeric >:

Public Member Functions | |
| iir_hpf (double A=0) | |
| iir_hpf (const char *file) | |
| Constructor reading coefficient from a file. | |
| void | print () |
| Print out coefficients. | |
| Numeric | clock (Numeric input) |
| Input new sample and calculate output. | |
| void | reset () |
| Reset. | |
Protected Attributes | |
| double | gain |
| double | a |
| Numeric | out |
| Numeric | previous_out |
| Numeric | previous_in |
Template for 1st Order IIR filter.
The filter is assumed the first order high pass digital filter generated by the bilinear transform of a first order analog filter.
where A is real
|
||||||||||
|
|
|
||||||||||
|
Constructor reading coefficient from a file.
|
|
||||||||||
|
Input new sample and calculate output.
|
|
||||||||||
|
Print out coefficients.
|
|
||||||||||
|
Reset.
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
1.4.4