A one-pole DSP filter.
More...
#include <ignition/math/Filter.hh>
|
| OnePole ()=default |
| Constructor.
|
| OnePole (double _fc, double _fs) |
| Constructor.
|
virtual void | Fc (double _fc, double _fs) |
| Set the cutoff frequency and sample rate.
|
const T & | Process (const T &_x) |
| Update the filter's output.
|
virtual | ~Filter () |
| Destructor.
|
virtual void | Set (const T &_val) |
| Set the output of the filter.
|
virtual const T & | Value () const |
| Get the output of the filter.
|
|
double | a0 = 0 |
| Input gain control.
|
double | b1 = 0 |
| Gain of the feedback.
|
T | y0 {} |
| Output.
|
template<class T>
class ignition::math::IGNITION_MATH_VERSION_NAMESPACE::OnePole< T >
A one-pole DSP filter.
- See also
- http://www.earlevel.com/main/2012/12/15/a-one-pole-filter/
◆ OnePole() [1/2]
◆ OnePole() [2/2]
Constructor.
- Parameters
-
[in] | _fc | Cutoff frequency. |
[in] | _fs | Sample rate. |
References Fc().
◆ Fc()
◆ Process()
◆ a0
◆ b1
The documentation for this class was generated from the following file: