Statistics Class Reference

Statistical information calculator. More...

#include <datasink/Statistics.h>

Inheritance diagram for Statistics:

DataSink

List of all members.

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?


Detailed Description

Statistical information calculator.

Member Function Documentation

void Statistics::Process ( const std::vector< float > &  data,
float  fDivX 
) [virtual]

Process data frame (acquisition buffer or part of if) received from device

Parameters:
data input data vector
fDivX sampling period

Reimplemented from DataSink.


The documentation for this class was generated from the following files:

Generated on Wed May 15 22:42:22 2013 for miniscope v3 by  doxygen 1.5.9
Tomasz Ostrowski