#include <gr_single_zero_avg.h>
Public Member Functions | |
gr_single_zero_avg (tap_type alpha=1.0) | |
construct new single zero moving average filter with given alpha | |
o_type | filter (const i_type input) |
compute a single output value. | |
void | filterN (o_type output[], const i_type input[], unsigned long n) |
compute an array of N output values. input must have n valid entries. | |
void | set_taps (tap_type alpha) |
install alpha as the current taps. | |
void | reset () |
reset state to zero | |
tap_type | prev_input () |
Protected Attributes | |
tap_type | d_alpha |
tap_type | d_one_minus_alpha |
tap_type | d_prev_input |
|
construct new single zero moving average filter with given alpha computes y(i) = alpha * x(i) + (1-alpha) * y(i-1) |
|
compute a single output value.
|
|
compute an array of N output values.
|
|
|
|
reset state to zero
|
|
install
|
|
|
|
|
|
|