Sound Byte Libs 0.5.1-121-g3358a44
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
sbl::control::LinearFit Struct Reference

measured su → corrected su. Identity until a fit is computed or loaded. More...

Detailed Description

measured su → corrected su. Identity until a fit is computed or loaded.

Definition at line 39 of file calibration.hpp.

#include <calibration.hpp>

Public Member Functions

constexpr float apply (float measured_su) const
 

Public Attributes

float scale = 1.0f
 
float offset = 0.0f
 

Member Function Documentation

◆ apply()

constexpr float sbl::control::LinearFit::apply ( float  measured_su) const
inlineconstexpr

Definition at line 43 of file calibration.hpp.

References offset, and scale.

Referenced by sbl::control::PointCalibration< N, Standard >::apply().

Member Data Documentation

◆ scale

float sbl::control::LinearFit::scale = 1.0f

Definition at line 40 of file calibration.hpp.

Referenced by apply(), and sbl::control::fit_points().

◆ offset

float sbl::control::LinearFit::offset = 0.0f

Definition at line 41 of file calibration.hpp.

Referenced by apply(), and sbl::control::fit_points().


The documentation for this struct was generated from the following file: