Class NotchFilter
Public Functions
Type | Name |
---|---|
NotchFilter () |
|
NotchFilter (float32_t Ts, float32_t f0, float32_t bandwidth) its a band stop filter |
|
float32_t | calculateWithReturn (float32_t signal) |
uint8_t | init (float32_t Ts, float32_t f0, float32_t bandwidth) initialize the band stop filter parameters |
void | reset () |
Public Functions Documentation
function NotchFilter [1/2]
function NotchFilter [2/2]
its a band stop filter
Parameters:
Ts
sample time [s]f0
central frequency to stop [Hz]bandwidth
frequency band [Hz] around f0 where gain < -3dB
function calculateWithReturn
function init
initialize the band stop filter parameters
Parameters:
Ts
sample time [s]f0
central frequency to stop in [Hz]bandwidth
frequency band [Hz] around f0 where gain < -3dB
function reset
The documentation for this class was generated from the following file docs/controlLibrary/src/filters.h