42 scale_ = 24.f /
delta;
43 offset_ = 12.f - scale_ *
val1V;
72 return offset_ + (scale_ *
inval);
76 float scale_, offset_;
Definition leddriver.h:33
Helper class for calibrating an input to 1V/oct response.
Definition VoctCalibration.h:19
bool GetData(float &scale, float &offset)
Definition VoctCalibration.h:51
~VoctCalibration()
Definition VoctCalibration.h:23
VoctCalibration()
Definition VoctCalibration.h:21
void SetData(float scale, float offset)
Definition VoctCalibration.h:62
float ProcessInput(const float inval)
Definition VoctCalibration.h:70
bool Record(float val1V, float val3V)
Definition VoctCalibration.h:39
Hardware defines and helpers for daisy field platform.
Definition index.h:2