Module wlancfg_lib::util::pseudo_energy
source · Structs§
- Struct for maintaining a dB or dBm exponentially weighted moving average. Differs from SignalStrengthAverage, which is not exponentially weighted.
Functions§
- Calculates the rate of change across a vector of dB measurements by determining the slope of the line of best fit using least squares regression. Return is technically dB(f64)/t where t is the unit of time used in the vector. Returns error if integer overflows.