#include <iir_hp1.h>
Collaboration diagram for SPUC::iir_hp1< Numeric >:
Public Member Functions | |
iir_hp1 (double A=0) | |
void | set_coeff (double A) |
iir_hp1 (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 | coeff |
Numeric | out |
Numeric | previous_out |
Numeric | previous_in |
The filter is assumed the first order low pass digital filter generated by the bilinear transform of a first order analog filter. G(z) = (1+1/z)/(1-a/z) where a is real and |a| < 1 Note: Not normalized
|
Here is the call graph for this function: ![]() |
|
Constructor reading coefficient from a file.
Here is the call graph for this function: ![]() |
|
Input new sample and calculate output.
|
|
Print out coefficients.
|
|
Reset.
|
|
|
|
|
|
|
|
|
|
|
|
|