SPUC
3.0
|
Template Class for 1st Order high pass IIR filter from S-domain transformation. More...
#include <iir_hpf.h>
Public Member Functions | |
iir_hpf (Coeff A=0, long b=0) | |
void | set_coeff (Coeff A) |
Coeff | get_a0 () |
Coeff | get_b0 () |
void | print () |
Print out coefficients. More... | |
Numeric | clock (Numeric input) |
Input new sample and calculate output. More... | |
void | reset () |
Reset. More... | |
Protected Attributes | |
Coeff | gain |
Coeff | a |
Numeric | out |
Numeric | previous_out |
Numeric | previous_in |
quantiser< Numeric > | Q |
Template Class for 1st Order high pass IIR filter from S-domain transformation.
The filter is the first order high pass digital filter generated by the bilinear transform of a first order analog filter.
where A is real
|
inline |
|
inline |
Input new sample and calculate output.
References SPUC::iir_hpf< Numeric, Coeff >::out, SPUC::iir_hpf< Numeric, Coeff >::previous_in, and SPUC::iir_hpf< Numeric, Coeff >::Q.
|
inline |
|
inline |
|
inline |
Print out coefficients.
|
inline |
Reset.
Referenced by SPUC::iir_hpf< Numeric, Coeff >::iir_hpf().
|
inline |
|
protected |
|
protected |
|
protected |
Referenced by SPUC::iir_hpf< Numeric, Coeff >::clock().
|
protected |
Referenced by SPUC::iir_hpf< Numeric, Coeff >::clock().
|
protected |
|
protected |
Referenced by SPUC::iir_hpf< Numeric, Coeff >::clock().