RtCov
Namespace: RTPROCESSINGLIB · Library: DSP Library
#include <dsp/rt_cov.h>
class RTPROCESSINGLIB::RtCov
Real-time covariance worker.
Controller that manages background covariance matrix estimation from streaming data.
src/examples/ex_dsp_rt/main.cpp
RtCov rtCov(info);
FiffCov cov;
for (int start = 0; start < covData.cols(); start += 1000) {
cov = rtCov.estimateCovariance(covData.middleCols(start, 1000), 4000); // empty until 4000 samples arrived
}