#include <datasink/Statistics.h>
Public Member Functions | |
virtual void | Process (const std::vector< float > &data, float fDivX) |
Public Attributes | |
float | fMin |
minimal value from data vector | |
float | fMax |
maximal value from data vector | |
float | fAvg |
averaged value from data vector samples | |
float | fRms |
RMS value. | |
float | fFreq |
estimated frequency of signal; may be difficult to determine | |
bool | bFreqValid |
is frequency value valid? |
void Statistics::Process | ( | const std::vector< float > & | data, | |
float | fDivX | |||
) | [virtual] |
Process data frame (acquisition buffer or part of if) received from device
data | input data vector | |
fDivX | sampling period |
Reimplemented from DataSink.