MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ confidence_of_rate()

double MayaFlux::Kinesis::Stochastic::Estimate::confidence_of_rate ( double  rate,
double  dt 
) const
inline

Confidence that a Differential-derived rate reflects signal, not floor.

Parameters
rateA velocity, acceleration, or other per-second quantity from Kinesis::Differential
dtThe same dt passed to the Differential call that produced rate
Returns
0.0 to 1.0, as confidence()

Converts rate back to a per-sample step (rate * dt) before comparing against floor(), which is what makes the comparison dimensionally correct. Without this conversion, floor (a static spread) and rate (a quantity already divided by dt) are different units, and the ratio between them says nothing about confidence.

Definition at line 223 of file Estimate.hpp.

224 {
225 return confidence(rate * dt);
226 }
float rate
double confidence(double step) const
Confidence that a step is signal, not floor.
Definition Estimate.cpp:55

References rate.