13#include <include/qlibs_types.hpp>
14#include <include/smoother.hpp>
32 virtual ~rms() noexcept = default;
57 const
size_t wsize ) noexcept;
65 template <
size_t windowSize>
68 return setup( win, windowSize );
76 explicit operator bool() const noexcept {
bool setup(real_t *const window, const size_t wsize) noexcept
Initialize the RMS instance by setting the default optimal parameters.
Definition rms.cpp:7
real_t update(const real_t x) noexcept
Computes the moving root mean square (RMS) of the input signal. The object uses both the exponential ...
Definition rms.cpp:22
virtual ~rms() noexcept=default
bool setParams(const real_t l, const real_t a) noexcept
Change the recursive parameters for the moving RMS estimator.
Definition rms.cpp:33
An Exponential weighting filter.
Definition smoother.hpp:379
bool isInitialized(void) const
Check if the smoother filter has been initialized using setup().
Definition smoother.hpp:44
A 1st order Low-Pass Filter.
Definition smoother.hpp:81
A Moving Window Median filter.
Definition smoother.hpp:188
The qLibs++ library namespace.
Definition mat.hpp:18
float real_t
A type to instantiate a real variable double-precision of 64-bits IEEE 754.
Definition qlibs_types.hpp:43