|
ESPHome 2026.5.3
|
N is set by code generation to match the exact number of polynomial coefficients. More...
#include <filter.h>
Public Member Functions | |
| CalibratePolynomialFilter (std::initializer_list< float > coefficients) | |
| optional< float > | new_value (float value) override |
Public Member Functions inherited from esphome::sensor::Filter | |
| virtual void | initialize (Sensor *parent, Filter *next) |
| Initialize this filter, please note this can be called more than once. | |
| void | input (float value) |
| void | output (float value) |
Protected Attributes | |
| std::array< float, N > | coefficients_ {} |
Protected Attributes inherited from esphome::sensor::Filter | |
| friend | Sensor |
| Filter * | next_ {nullptr} |
| Sensor * | parent_ {nullptr} |
N is set by code generation to match the exact number of polynomial coefficients.
|
inlineexplicit |
|
inlineoverridevirtual |
Implements esphome::sensor::Filter.
|
protected |